Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.1.0a5
2018.1.0b13
Issue ID
1021423
Regression
Yes
Exception not thrown when Callbacks.DidReloadScripts attribute is added to a non-static method
How to reproduce:
1. Open user attached project
2. Open scene "TESTSCENE"
3. Open Assets/"TestComponent.cs" script and notice that an attributed method on line 19 is not static
4. Notice that "An [DidReloadScripts] attributed method is not static" exception is not thrown in the console (see "WHATITDIDIN55.PNG")
Expected result: "UnityException: An [DidReloadScripts] attributed method is not static" exception is thrown
Actual result: mentioned exception is not thrown and the method fails silently ("Debug.Log("DidReloadScripts callback called!");" is never executed)
Reproducible with: 2018.1.0a5, 2018.1.0b13, 2018.2.0a7
Not reproducible with: 2017.3.2f1, 2017.4.1f1, 2018.1.0a4
Fixed in: 2018.3.0a1 (7938e91bc57b)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Asset Database warning is being logged continuously when creating a script in an embedded package
- The Scene is marked as dirty when navigating Hierarchy by using arrow keys
- Build process only shows Initializing when building for Android
- TileMap Palette preview flickers when scaled
- Shader Graph Blackboard "plus" sign is not centered within the button
Add comment