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
- “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