Search Issue Tracker
Fixed in 5.4.3
Votes
0
Found in
5.3.2f1
Issue ID
766144
Regression
No
[UI]Crash on "scripting_class_get_method_from_name_filter" after click on UI button
Steps to reproduce:
1. Download and open attached project.
2. Open scene named "Village building".
3. Press "Play" button.
4. Move towards one of "sign posts" that are located on the corners (use "A", "S", "D", "W" keys to control the ball).
5. Press "J" key to interact with "sign post".
6. Two times press "Enter" key.
7. Click on one of three buttons ("Build", "Demolish" or "Leave").
Actual result:
Unity crashes and "Unity Bug Reporter" window appears after trying to access a variable from other class and change its value.
Expected result:
Unity should not crash after trying to access a variable from other class and change its value.
8. Open script named "ButtonID" and delete this line of code:
"theManager.response = true;".
9. Notice that the issue is no longer reproducible.
Note: attached video shows how to reproduce this issue.
Reproduced with:
5.1.0f3, 5.2.4f1, 5.3.4f1, 5.3.4p6, 5.3.5f1, 5.4.0b18.
Stack trace:
0x000000014032EC60 (Unity) scripting_class_get_method_from_name_filter
0x000000014032B002 (Unity) Scripting::GetMethodWithSearchOptions
0x000000014030ACA0 (Unity) MonoBehaviour::CallMethodInactive
0x0000000140329BB7 (Unity) ScriptingManager::RebuildClassIDToScriptingClass
0x00000001401106F5 (Unity) DelayedCallManager::Update
0x00000001403B2D69 (Unity) PlayerLoop
0x0000000140B90B8C (Unity) Application::UpdateScene
0x0000000140B92649 (Unity) Application::UpdateSceneIfNeeded
0x0000000140B98A0C (Unity) Application::TickTimer
0x0000000140DC5287 (Unity) RelaunchUnity
0x0000000140DC685B (Unity) WinMain
0x0000000141511014 (Unity) read
0x00007FF933108102 (KERNEL32) BaseThreadInitThunk
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigidbody interpolation is performed after the next frame's FixedUpdate() when using Rigidbody2D
- OnAudioFilterRead not working as expected for generator scripts
- Construct matrix block disappears, and other bugs and exceptions related to it show when opening/running project
- New browser tab is not created when trying to open Package Manager hyperlinks by holding the Ctrl key and pressing the left mouse button
- [Mobile] NavigationSubmitEvent is not being triggered when the submit button is pressed on a mobile keyboard
Add comment