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
- Animator State Labels are not Rendered correctly when using the Bitmap Renderer as the Default Editor Text Renderer
- LDR render target is used when HDR is enabled in URP and Recorder Source is set to 360 View
- Terrain Layer's changes are not added to the Undo history
- “IndexOutOfRangeException: Index was outside the bounds of the array.” error is thrown when large Text (TMP) GameObject Overflow field is set to Ellipsis
- The OnValidate method is not invoked when reverting changes on a Prefab Variant
Add comment