Search Issue Tracker
Active
Under Consideration for 1.3.X, 7000.0.X
Votes
6
Found in [Package]
1.2.1 - Entities
1.3.X - Entities
7000.0.0a1
Issue ID
ECSB-1088
Regression
Yes
[Android][Entities] The Player crashes on "EntityQueryManager_TestMatchingArchetypeAll" or "Unity.Entities.ChunkIterationUtility+CalculateEntityCountAndSingleton"
Steps to reproduce:
1. Open the attached “CrashTest” project
2. Build And Run the project on the device
3. Wait a few seconds
Expected result: The Player doesn’t crash
Actual result: The Player crashes
Reproducible with: 2023.2.19f1 (1.0.16, 1.2.0), 6000.0.1f1 (1.2.0, 1.2.1)
Not reproducible with: 2021.3.37f1 (0.51.1-preview.21), 2022.3.28f1 (1.0.0-exp.8, 1.0.16, 1.2.0)
Testing environment: macOS Sonoma 14.4.1 (Intel), Windows 11 (by user)
Not reproducible on: No other environment tested
Reproducible with these devices:
VLNQA00391 - Xiaomi Redmi 9A (M2006C3LG), CPU: MediaTek Helio G25 (MT6762G), GPU: PowerVR Rogue GE8320, OS: 10
POCO angelicain (by user)
realme RE5887 (by user)
Redmi cattail (by user)
Redmi dandelion (by user)
samsung a10s (by user)
TECNO TECNO-KG5h (by user)
realme RMX3231 (by user)
Samsung A13x (by user)
Not reproducible with devices:
VLNQA00526 - samsung Galaxy A12 (SM-A125F), CPU: Mediatek MT6765 Helio P35 (12nm), GPU: PowerVR Rogue GE8320, OS: 12
VLNQA00472 - samsung Galaxy A52 (SM-A525F), CPU: Snapdragon 720G (SM7125), GPU: Adreno 618, OS: 12
VLNQA00334 - Xiaomi Mi A3 (Mi A3), CPU: Snapdragon 665 SM6125, GPU: Adreno 610, OS: 11
Notes:
- Could not find a regressed version, as the building takes about half an hour, and most versions have errors in the project
- Doesn’t reproduce after downgrading to a not reproducible version and then upgrading to a reproducible version
- The issue is in Editor versions and not in the package versions
A few lines of stacktrace from the user:
{noformat}0 libil2cpp.so 0x00000000bb43be78 EntityQueryManager_TestMatchingArchetypeAll_m9C76A9AAB486313A0908CDF9ECC53C1ED2AFE85B /Library/Bee/artifacts/Android/il2cppOutput/cpp/Unity.Entities__6.cpp:14970)
<…/ \…>
5 EntityComponentStore_EndArchetypeChangeTracking_m7E79B4A694CC7243C9D1AAD12A5BE01F14746B26 /Library/Bee/artifacts/Android/il2cppOutput/cpp/Unity.Entities__3.cpp:13173)
6 libil2cpp.so 0x00000000bb40744c EntityDataAccess_EndStructuralChanges_m1559113653255CED98A6467150D85D6DAF3DE438 /Library/Bee/artifacts/Android/il2cppOutput/cpp/Unity.Entities__4.cpp:25227)
7 libil2cpp.so 0x00000000bb412d1c EntityManager_CreateArchetype_mE2108B3179CAC750DC39C3F6E85AA3719B5468F6 /Library/Bee/artifacts/Android/il2cppOutput/cpp/Unity.Entities__4.cpp:35109)
8 libil2cpp.so 0x00000000bba5774c SceneSystem_CreateSceneEntity_mD55DB2BE0A6E2956CAD63BAF383BF0F64A04351B /Library/Bee/artifacts/Android/il2cppOutput/cpp/Unity.Scenes.cpp:26647)
9 libil2cpp.so 0x00000000bba573fc SceneSystem_LoadEntitySceneAsync_m56167B46012F8AB088DC6A90D28A39F48297DBDA /Library/Bee/artifacts/Android/il2cppOutput/cpp/Unity.Scenes.cpp:26442)
10 libil2cpp.so 0x00000000bba56f2c SceneSystem_LoadSceneAsync_m50E52E9854A9D80A71C452CC022528C86B02CB97 /Library/Bee/artifacts/Android/il2cppOutput/cpp/Unity.Scenes.cpp:26255)
11 libil2cpp.so 0x00000000bba58fe8 SubScene_AddSceneEntities_m9A06C00DA9B18723733404E8045FCD8DDE1C141E /Library/Bee/artifacts/Android/il2cppOutput/cpp/Unity.Scenes.cpp:28132){noformat}
A few lines of stacktrace reproduced locally:
{noformat}2024/05/07 15:04:41.307 12103 CRASH #00 pc 00193076 /data/app/com.DefaultCompany.CrashTest-PQnEUxGPYqa5oZmnVCvexA==/lib/arm/lib_burst_generated.so (Unity.Entities.ChunkIterationUtility+CalculateEntityCountAndSingleton_00000A6E$BurstDirectCall, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.Invoke(Unity.Entities.UnsafeCachedChunkList&, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null cachedChunkList, Unity.Entities.UnsafeMatchingArchetypePtrList&, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null matchingArchetypes, Unity.Entities.EntityQueryFilter&, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null filter, System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 hasEnableableComponents, Unity.Entities.MatchingArchetype*&, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null firstMatchArchetype, Unity.Entities.ChunkIndex&, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null firstMatch...
2024/05/07 15:04:41.307 12103 CRASH #01 pc 001935bd /data/app/com.DefaultCompany.CrashTest-PQnEUxGPYqa5oZmnVCvexA==/lib/arm/lib_burst_generated.so (Unity.Entities.EntityQueryImpl, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.GetSingletonChunkAndEntity(Unity.Entities.EntityQueryImpl*, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null this, Unity.Entities.TypeIndex, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null typeIndex, System.Int32&, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 outIndexInArchetype, Unity.Entities.ChunkIndex&, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null outChunk, System.Int32&, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 outEntityIndexInChunk) -> System.Void, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089_852bacae0712b6ba5188850075bf2763 from Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null+360) (BuildId: 2c206b...
2024/05/07 15:04:41.307 12103 CRASH #02 pc 002525f7 /data/app/com.DefaultCompany.CrashTest-PQnEUxGPYqa5oZmnVCvexA==/lib/arm/lib_burst_generated.so (Unity.Physics.GraphicsIntegration.RecordMostRecentFixedTime, Unity.Physics, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.OnUpdate(Unity.Physics.GraphicsIntegration.RecordMostRecentFixedTime*, Unity.Physics, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null this, Unity.Entities.SystemState&, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null state) -> System.Void, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089_852bacae0712b6ba5188850075bf2763 from Unity.Physics, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null+222) (BuildId: 2c206bb3c55a685f)
2024/05/07 15:04:41.307 12103 CRASH #03 pc 00250285 /data/app/com.DefaultCompany.CrashTest-PQnEUxGPYqa5oZmnVCvexA==/lib/arm/lib_burst_generated.so (84d49d9dc9bb96e5d7b7db60b74938a2+4) (BuildId: 2c206bb3c55a685f)
2024/05/07 15:04:41.307 12103 CRASH #04 pc 004125a3 /data/app/com.DefaultCompany.CrashTest-PQnEUxGPYqa5oZmnVCvexA==/lib/arm/lib_burst_generated.so (Unity.Entities.WorldUnmanagedImpl+UnmanagedUpdate_000015CE$BurstDirectCall, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.Invoke(System.Void*, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 pSystemState) -> System.Void, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089_852bacae0712b6ba5188850075bf2763 from Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null+366) (BuildId: 2c206bb3c55a685f)
2024/05/07 15:04:41.307 12103 CRASH #05 pc 00411035 /data/app/com.DefaultCompany.CrashTest-PQnEUxGPYqa5oZmnVCvexA==/lib/arm/lib_burst_generated.so (7bf3b3dc1c88cb657fd69b548232391d+4) (BuildId: 2c206bb3c55a685f){noformat}
Comments (2)
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
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
FriedrichNietzsche
Nov 02, 2024 03:10
I’m experiencing the same issue with Unity 6 (DOTS 1.3.5).
crashes on certain phones, especially those with (ARM Cortex-A53) and (ARM Cortex-A55) CPUs.
Players report that the game kicks them out at startup.
https://discussions.unity.com/t/crash-on-startup-with-dots-1-3-5-on-phones-with-arm-cortex-a53-and-arm-cortex-a55-cpus/1542513
ANU_CHEEKI_BREEKI
Jun 27, 2024 16:19
same issue
https://forum.unity.com/threads/android-il2cpp-crashes-on-loading-scene-with-subscene-unsafematchingarchetypeptrlist_add.1603869/