Search Issue Tracker

Active

Votes

0

Found in [Package]

0.1.0-exp.1

Issue ID

GTFB-1287

Regression

No

Compiler error when project uses IL2CPP with .NET Standard scripting backend

Package: Graph Toolkit

-

*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]

 

 

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.