Trying to get my game building properly for the web, it includes a combination of C# and Bolt scripts. I have run Bolt’s AOT prebuild functionality which runs successfully without an error, I can confirm that the stub files are successfully created and populated.
When the game is built and run in the browser however, none of the Bolt logic actually works and the following error appears in the browser console:
27c0a33d-1fb2-4693-8183-57b1fbb40a0c:8 ExecutionEngineException: Attempting to call method ‘Ludiq.InstancePropertyAccessor`2[[UnityEngine.UI.Graphic, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]::.ctor’ for which no ahead of time (AOT) code was generated.
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[ ] parameters) [0x00000] in <00000000000000000000000000000000>:0
(Filename: currently not available on il2cpp Line: -1)
[27c0a33d-1fb2-4693-8183-57b1fbb40a0c:8 MethodAccessException: Attempt to access method ‘Ludiq.IGraphData.TryGetElementData’ on type ‘’ failed.
(Filename: currently not available on il2cpp Line: -1)
Project is running 2019.4.4f1 and Bolt version 1.4.12
Thanks!