Search Issue Tracker

Fixed in 2018.1

Fixed in 2017.2, 2017.3

Votes

0

Found in

2017.2.0p2

2017.2.0b1

Issue ID

975289

Regression

Yes

Unity crashes when using [RuntimeInitializeOnLoadMethod] attribute

Shuriken

-

Steps to reproduce:
1. Open attached project "Crash.zip"
2. Make sure the active scene is "Prologue"
3. Enter Play mode

Actual result: Unity crashes and the bug reporter is shown
Expected result: no crash

Reproducible with: 2017.2.0b1, 2017.2.0p2, 2018.1.0a6
Not reproducible with: 5.6.0f3, 2017.1.0p5, 2017.2.0a4
Regression introduced in: 2017.2.0b1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.