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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Add comment