Search Issue Tracker
Won't Fix
Won't Fix in 2022.3.X
Votes
0
Found in
2022.3.6f1
Issue ID
UUM-46004
Regression
No
[DOTS] Crash on block_merge_next when using EntityQueryBuilder multiple times
{}Reproduction steps{}:
- Open the project "pr_blobario"
- Open Multiplayer Playmode Tools, and make sure the PlayMode Type is "Client & Server"
- Go to scene: Scenes/MarkasScene/MarkasScene
- Enter Playmode
- Play for a few seconds and exit Play Mode
{}Full stack trace{}:
{code:java}
Obtained 8 stack frames.
#0 0x00000110cc6454 in block_merge_next
#1 0x00000110cc632f in tlsf_free
#2 0x0000010e6fdf70 in DynamicHeapAllocator::Deallocate(void)
#3 0x0000010e70d026 in DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate(void)
#4 0x0000010e701e91 in MemoryManager::Deallocate(void, MemLabelId const&, char const, int)
#5 0x0000010e6ffd48 in free_alloc_internal(void, MemLabelId const&, char const, int)
#6 0x0000010e1c8a02 in UnsafeUtility::Free(void, NativeCollection::Allocator, ScriptingExceptionPtr)
#7 0x0000010e1c83b3 in UnsafeUtility_CUSTOM_FreeTracked(void, NativeCollection::Allocator) {code}
{}Platforms tested{}: macOS Intel (Ventura 13.4.1), Windows 10 22H2
{}Notes{*}: Not reproducible 100% of the time, but very often, sometimes crashes as soon as you enter Play Mode
The line that is causing the issue in Scripts/Pellet/PelletVirusRespawnSystem.cs (line 62):
EntityQuery query = new EntityQueryBuilder(Allocator.Temp).WithAll<Pellet>().Build(ref state);
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on CollectAllSceneManagerAndObjectIDs when opening a specific Scene
- GPU device suspended error when replaying a video in the Video Player with NVIDIA Vertical Sync set to Fast
- GPU device suspended error when replaying a video in the Video Player with NVIDIA Vertical Sync set to Fast
- SetComponentEnabled uses class instead of struct when constraining Enableable Component type
- [iOS] Application.deepLinkActivated does not get invoked while app is running when UIApplicationSceneManifest is added in Info.plist
Resolution Note:
User error. SystemState must be passed by reference, not by value.
Resolution Note (2022.3.X):
User error. SystemState must be passed by reference, not by value.