Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.3.4f1
Issue ID
782972
Regression
No
Compiler fails with an error when a dynamic type item is added to a List<dynamic>
How to reproduce:
1. Open attached project
- Note that there is a compilation error in the console:
error CS0518: The predefined type `System.Runtime.CompilerServices.CallSite' is not defined or imported
error CS0518: The predefined type `System.Runtime.CompilerServices.CallSite`1' is not defined or imported
Compilation failed: 2 error(s), 0 warnings
- The error disappears and everything compiles properly when line 48 (list.Add(one); (object 'one' has the type 'dynamic')) is commented out from the script <..>/Editor/Scripts/Utils/Plist.cs
- Reproduced in Version 5.4.0b11 (323b0238353b), Version 5.3.4p1 (e89f89413a91), Version 5.2.4f1 (98095704e6fe)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] The Player freezes when disabling Bluetooth while connected to the headphones
- Addressable bundles are not retrieved from the cache when a WebGL Player is refreshed
- Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
- CPU usage is increased when the Editor is idle with the ProBuilder Package installed
- Unstable lighting when additional light sources are added in Shader Graph nodes
Add comment