Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2019.3
2019.3.12f1
2020.2
Issue ID
1244474
Regression
No
[ECS] Crash on Transform::GetPosition when accessing object's position in SystemBase.OnCreate method
Reproduction steps:
1. Open the attached "case_1244474.zip" project
2. Load the "SamepleScene"
3. Enter Play mode
-- Observe the crash
Reproducible with: 2019.3.13f1, 2020.1.0b8, 2020.2.0a11 (0.6.0-preview.24, 0.10.0-preview.6)
Couldn't test with Unity: 2018.4.21f1 (Entities Package does not exist)
Could not test with Entities package versions: 0.5.1-preview.11 and earlier package versions (SystemBase class was introduced in 0.6.0-preview.24)
Top 5 lines of the stack trace:
0x00007FF61D756C99 (Unity) Transform::GetPosition
0x00007FF61DD2D50F (Unity) Transform_CUSTOM_get_position_Injected
0x0000016ACADC8B06 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Transform:get_position_Injected (UnityEngine.Transform,UnityEngine.Vector3&)
0x0000016ACADC8A23 (Mono JIT Code) UnityEngine.Transform:get_position ()
0x0000016ACADC88F3 (Mono JIT Code) [D:\Downloads\case_1244474\Assets\CrashRepro.cs:23] CrashReproEntities:OnCreate ()
<...>
Comments (1)
-
Reticulatas
Nov 18, 2020 02:03
Will this be backported? I have a 100% crash on start with this very issue in 2019.4.x LTS not using ECS.
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
- [RenderGraph] Outputs from camera stack override each other when using OpenGLES3 with a custom renderer feature
- An "RefreshInternalV2 is called before InitialRefresh" error is thrown when opening a project where a build profile with Player settings added is selected
- MeshCollider preview gizmo disappears from the Scene view when overriding the mesh asset using any 3D editing tool
- Tutorial project is not created when started from the Get set up tab
- Audio Listener Component expands when selected
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a14