Search Issue Tracker

Duplicate

Votes

0

Found in

2018.1.0f2

Issue ID

1034995

Regression

Yes

[UWP] Missing AOT code when building with IL2CPP and .Net 4.x API using the Bolt Visual Scripting Plugin

Steps to reproduce:
1. Download attached project
2. Switch platform to UWP
3. In Player settings set IL2CPP backend and .Net 4.x API compatibility Level
4. Build the project
5. Open in Visual Studios and build (Debug configuration, x64 platform, Local Machine)

Expected results: No exception is thrown
Actual results: Exception is thrown

Reproduced with: 2018.2.0b4, 2018.1.2f1, 2018.1.0b1
Not reproducible with: 2017.4.3f1, 2017.3.2f1

Not Reproducible on: .NET 2.0 subset

Exeption:
Exception thrown at 0x00007FFA632DF218 in test.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x000000F541BFDD00.
Failed to deserialize scriptable object.
System.Runtime.Serialization.SerializationException: Deserialization into 'Bolt.FlowMacro' failed. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ExecutionEngineException: Attempting to call method 'System.Reflection.MonoProperty::GetterAdapterFrame' for which no ahead of time (AOT) code was generated.
at System.Reflection.MonoProperty+GetterAdapter.Invoke (System.Object _this) [0x00000] in <00000000000000000000000000000000>:0

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.