Search Issue Tracker
Fixed in 2019.3.X
Duplicate in 2019.2.X
Votes
0
Found in
2019.1.0a11
2019.1.0a12
Issue ID
1108911
Regression
Yes
[Scripting] DLL does not update and "MissingMethodException" error is thrown when accessing the obsolete code from script.
Managed DLL does not update automatically and throwing "MissingMethodException" error when accessing the code from DLL.
Steps to repro:
1. Open the attached Project.
2. Play the Main scene.
3. Press the Spacebar.
Actual Result:
"MissingMethodException: UnityEngine.Rigidbody UnityEngine.Component.get_rigidbody()BallScript.Update () (at Assets/BallScript.cs:32)" erroer thrown in console.
Expected Result:
DLL update automatically and No exception is thrown.
Reproducible in:
2019.2.0a10, 2019.1.0a4, 2019.1.0a12, 2019.1.0a11.
Working Fine in:
2019.1.0a10, 2018.3.0f2 (49866f0a5d12).
Environment:
Windows & Mac.
Stack trace:
MissingMethodException: UnityEngine.Rigidbody UnityEngine.Component.get_rigidbody()BallScript.Update () (at Assets/BallScript.cs:32)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment