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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment