Search Issue Tracker
Fixed
Votes
0
Found in [Package]
Issue ID
GTFB-1287
Regression
No
Compiler error when project uses IL2CPP with .NET Standard scripting backend
Steps to reproduce:
- Create a new project
- Add the GTK package
- Open Project Settings
- Navigate to Player page
- In the Configuration section set
- Scripting Backend -> IL2CPP
- Editor Assemblies Compatibility Level -> .NET Standard
Expected : Unity recompiles scripts and there is no error
Actual : Unity recompiels scripts and there is the following compiler error
- /com.unity.motion/Packages/com.unity.graphtoolkit/GraphToolkitEditor/UI/ModelView/Inspector/CustomPropertyDrawerAdapter.cs(223,63): error CS1061: 'AppDomain' does not contain a definition for 'DefineDynamicAssembly' and no accessible extension method 'DefineDynamicAssembly' accepting a first argument of type 'AppDomain' could be found (are you missing a using directive or an assembly reference?)
Reported on Discussions board : [https://discussions.unity.com/t/error-cs1061-appdomain-does-not-contain-a-definition-for-definedynamicassembly/1673819]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment