Search Issue Tracker
Duplicate
Votes
3
Found in [Package]
0.10.0-preview.6
Issue ID
1246033
Regression
Yes
[ECS] Crash on Unity.Entities.EntityDataAccess:AddComponentDuringStructuralChange when creating SubScene from DirectionalLight
Reproduction steps:
1. Open the user's attached "UnitMoveTest.zip" project
2. Load the "TestScene01"
3. Select and right-click on the "Direction Light" GameObject in the Hierarchy window
4. Select Create Sub Scene > New SubScene From Selection and press Save
-- Observe the crash
Reproducible with: 2019.3.13f1, 2020.1.0b8, 2020.2.0a11 (0.10.0-preview.6)
Not reproducible with: 2019.3.13f1, 2020.1.0b8, 2020.2.0a11 (0.9.1-preview.19)
Couldn't test with Unity: 2018.4.21f1 (Entities Package does not exist)
First lines of the stack trace:
0x00007FFD37FA1075 (91b9d905f9bdb13ac0e4051ae53f94d) AAA6AEDB2D217911
0x0000021DE942362C (Mono JIT Code) (wrapper managed-to-native) object:wrapper_native_0000021D949F0060 (Unity.Entities.EntityComponentStore*,Unity.Entities.Entity*,int)
0x0000021DE94FCA61 (Mono JIT Code) [D:\Downloads\case_1246033\Library\PackageCache\com.unity.entities@0.10.0-preview.6\Unity.Entities\EntityDataAccess.cs:426] Unity.Entities.EntityDataAccess:AddComponentDuringStructuralChange (Unity.Entities.Entity,Unity.Entities.ComponentType)
0x0000021DE94FC143 (Mono JIT Code) [D:\Downloads\case_1246033\Library\PackageCache\com.unity.entities@0.10.0-preview.6\Unity.Entities\EntityDataAccess.cs:404] Unity.Entities.EntityDataAccess:AddComponent (Unity.Entities.Entity,Unity.Entities.ComponentType)
0x0000021DE94FC03B (Mono JIT Code) [D:\Downloads\case_1246033\Library\PackageCache\com.unity.entities@0.10.0-preview.6\Unity.Entities\EntityManagerChangeArchetype.cs:189] Unity.Entities.EntityManager:AddComponent (Unity.Entities.Entity,Unity.Entities.ComponentType)
0x0000021DE950024B (Mono JIT Code) [D:\Downloads\case_1246033\Library\PackageCache\com.unity.entities@0.10.0-preview.6\Unity.Entities\EntityManagerChangeArchetype.cs:851] Unity.Entities.EntityManager:AddComponentObject (Unity.Entities.Entity,object)
0x0000021DE94F461B (Mono JIT Code) [D:\Downloads\case_1246033\Library\PackageCache\com.unity.entities@0.10.0-preview.6\Unity.Scenes.Hybrid\SubScene.cs:219] Unity.Scenes.SubScene:AddSceneEntities ()
<...>
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 mecanim::SetValueWeight when switching the AnimationMixerPlayable connection with Animator's UpdateMode set to "Animate Physics"
- The "StringComparer.InvariantCultureIgnoreCase.GetHashCode()" returns different Hash Codes for the same word with the only difference being case sensitivity in WebGL
- 2D Light Textures show the lights of any 'blend style' index higher than theirs (if present) when they aren't visible by the Camera using Render Graph
- [SpeedTree] Wireframe mode not rendering correctly ST assets
- Light2D affecting only the Default Sorting Layer will also affect any Custom Lit Sprite not on that Layer when using Render Graph
Resolution Note:
Fixed in: Burst 1.3.0-preview.11 release