Search Issue Tracker

Fixed

Fixed in U6.4

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:

  1. Create a new project
  2. Add the GTK package
  3. Open Project Settings
  4. Navigate to Player page
  5. 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.