Search Issue Tracker

Won't Fix

Votes

1

Found in

2018.1.0f2

Issue ID

1033192

Regression

No

A non-static method with an InitializeOnLoadMethod attribute shows a not very helpful error

Scripting

-

To reproduce:

1. Open the project, attached by the tester (nonhelpfulError.zip)
2. Observe the console

Expected: the error points to the method or otherwise tell that a method with [InitializeOnLoadMethod] should be static

Reproduced in 2018.1.0a5, 2018.1.0f2, 2018.2.0b3, 2018.3.0a1
Did not reproduce in 2018.1.0a4 and earlier versions of Unity, the error is not shown at all

  1. Resolution Note:

    This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.

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.