Bug - Build iOS

이승우 4 years ago updated by Lazlo Bonin (Lead Developer) 4 years ago 6

Version : Unity3D 2017.1.0p5

Bolt : 1.0.4

Build Target : iOS

Maybe AOT Prebuld did not check flow graph in state graph.

I can't process device test .

It's very serious.

[Deserialization] Ludiq.InvalidImplementationException: The provided member is not supported on that unit type.

  at Bolt.MemberUnit.ReflectMember () [0x00000] in <filename unknown>:0 

  at Bolt.MemberUnit.OnAfterDeserialize () [0x00000] in <filename unknown>:0 

  at Ludiq.FullSerializer.fsSerializationCallbackReceiverProcessor.OnAfterDeserialize (System.Type storageType, System.Object instance) [0x00000] in <filename unknown>:0 

  at Ludiq.FullSerializer.fsSerializer.Invoke_OnAfterDeserialize (System.Collections.Generic.List`1 processors, System.Type storageType, System.Object instance) [0x00000] in <filename unknown>:0 

  at Ludiq.FullSerializer.fsSerializer.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x00000] in <filename unknown>:0 

  at Ludiq.FullSerializer.fsIEnumerableConverter.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Object& instance_, System.Type storageType) [0x00000] in <filename unknown>:0 


UnloadTime: 5.661541 ms

ExecutionEngineException: Attempting to call method 'Ludiq.InstancePropertyAccessor`2[[UnityEngine.Transform, UnityEngine, Version=, Culture=, PublicKeyToken=null],[UnityEngine.Vector3, UnityEngine, Version=, Culture=, PublicKeyToken=null]]::.ctor' for which no ahead of time (AOT) code was generated.

  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 

  at Ludiq.OptimizedReflection.GetPropertyAccessor (System.Reflection.PropertyInfo propertyInfo) [0x00000] in <filename unknown>:0 

  at Ludiq.Member.Prewarm () [0x00000] in <filename unknown>:0 

  at Ludiq.Graph.Prewarm () [0x00000] in <filename unknown>:0 

  at Ludiq.GraphNest`2[TGraph,TMacro].Instantiate (IDictionary`2 parentInstantiations) [0x00000] in <filename


Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Pending Review

Hi 이승우, welcome to the community!

The second error does indeed look like the AOT stubs does not include the right function.

Can you send the AOTStubs.cs file here please?

I'm not sure where the first error is coming from, I'll investigate.

Fixed in Alpha

Thanks for sending the files. You were right, nested units were not getting stubbed properly. This will be fixed in the next version.

I think the other error is related and should be fixed as well, but in case it isn't, I improved the error message so we know exactly where it's coming from.

Thank you for your attention.
I need a quick fix.

Thank you very much~

I try to push one update every week. The fix should be available early next week.