Search Issue Tracker
Won't Fix
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
User error. SystemState must be passed by reference, not by value.