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
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
Add comment