Reply To: GetActiveScene() in iL2CPP

FlowCanvas Forums Support GetActiveScene() in iL2CPP Reply To: GetActiveScene() in iL2CPP


Hello again,

Somewhere in your log should be an error that looks like this:

“Attempting to call method ‘FlowCanvas.ValueOutput`1[[UnityEngine.SceneManagement.Scene, UnityEngine.CoreModule, Version=, Culture=neutral, PublicKeyToken=null]]::.ctor’ for which no ahead of time (AOT) code was generated.”

Please find that line and (as described on your other post), you will need to add the type that is shown in bold above, in your Preferred Types editor and re–build the AOTClasses and link.xml files. In the example above the type is UnityEngine.ScenneManagement.Scene, but in your case it will be some other types at that same line log spot.

If you want please post the whole log so that I can pinpoint the type for you.


Join us on Discord: