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
- [macOS] Editor crashes after entering Play mode with overlapping GameObjects with Cloth Component and Cloth Inter-Collision enabled
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
- Look Dev window flickers when resizing the window after docking it
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.