Search Issue Tracker

Fixed in 2018.3.X

Fixed in 2017.4.X, 2018.2.X

Won't Fix in 2018.1.X

Votes

0

Found in

2017.3.0f3

Issue ID

1005502

Regression

No

Unity crashes when MonoImporter.SetExecutionOrder is called from RuntimeInitializeOnLoadMethod

Scripting

-

How to reproduce:
1. Open given Unity project
2. Enter "Title" scene
3. Enter Play Mode
4. Unity crashes

Reproducible with: 2018.2.0a1, 2018.1.0b9, 2017.3.1p2, 2017.2.2f1, 2017.1.3p1, 5.6.5p2

Note:
In script called "Root" 20 line ( UnityEditor.MonoImporter.SetExecutionOrder(monoScript, -32000)) is crashing only when it's in RuntimeInitializeOnLoadMethod (line 8)

Verified fixed in 2018.3.0a1

Add comment

Log in to post comment