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
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
Add comment