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
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- [Linux] Numeric field value stops increasing when cursor reaches the edge of the monitor while dragging
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- "Add Component" button overlaps the Volume component UI when creating a new Volume Profile in a wide Inspector on high-DPI scaling
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
Add comment