Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2017.4.1f1
Issue ID
1069988
Regression
No
Unity crashes on Transform::SetLocalPosition when entering Play Mode
Unity crashes on Transform::SetLocalPosition when entering Play Mode after adding [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] to a private static void Main() in GameController.cs
How to reproduce:
1. Open the user's attached project
2. Enter Play Mode
Expected result: Editor keeps working
Actual result: Crash occurs
Reproducible with - 2017.4.9f1, 2018.1.9f1, 2018.2.3f1, 2018.3.0a8
Can't reproduce on earlier versions due to compiler errors
Fixed in 2018.3.0b12, 2019.1.0a10
Last 5 lines of stack trace:
0x00000001408D43A7 (Unity) Transform::SetLocalPosition
0x00000000358384F5 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Transform:INTERNAL_set_localPosition (UnityEngine.Vector3&)
0x000000003583838B (Mono JIT Code) [C:\buildslave\unity\build\artifacts\generated\common\runtime\TransformBindings.gen.cs:42] UnityEngine.Transform:set_localPosition (UnityEngine.Vector3)
0x00000000358378C7 (Mono JIT Code) [C:\Develop\Droplet\hptm\HPTM\Assets\Scripts\UIController.cs:39] HPTM.UIController:Init ()
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 GetSpriteAtlasDependenciesFromBinary when opening specific project
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
Add comment