Comments (2)
this actually makes sense because with the preallocation you are changing the size of the sets which invalidates the entity references because the indices will change.
With some effort I may be able to update the references during a preallocation, but it's not the way to go. By definition preallocation shouldn't be called on an already allocated group, so I am going to add an exception when this happens.
from svelto.ecs.
ok changed the code to throw an exception if preallocation is called when entities are already submitted
from svelto.ecs.
Related Issues (20)
- Multiple FindGroups Issue HOT 3
- Performance improvement for `NB<T>` HOT 5
- IReactOnDisposeEx doesn't run at all HOT 1
- Errors in readme HOT 1
- [3.5.0-pre] Filter.Add behavior changed, throws exeption HOT 1
- [3.5.0-pre] Group compound warning triggers for Svelto base types HOT 1
- [3.5.0-pre] Key not found exception when removing the same entity multiple times HOT 1
- NativeEGIDMultiMappers (and possibly EgidMultiMappers) optimization HOT 1
- error CS0246: The type or namespace name 'ConditionalAttribute' could not be found HOT 1
- nuget package is compiled as debug HOT 18
- is there network example? HOT 1
- ICompositionRoot.OnContextDestroyed called twice in Example2-Unity Hybrid-Survival HOT 2
- Question about why Svelto's log is default StackTraceLogType.None HOT 2
- Use `Enum.GetNames` to replace the need of a struct for `ISequenceOrder` HOT 2
- `NativeEntityFactory` cannnot create ExtendibleEntityDescriptors HOT 2
- `SortedJobifiedEnginesGroup` does not implement `IJobifiedEngine` HOT 1
- GroupHashMap throws exception when serializing entity in group using bytemask HOT 2
- QueryEntities Unlimited Components HOT 3
- test discussion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svelto.ecs.