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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment