0
Under Review

Strange error in AOT build - MissingValuePortInputException

Max Ivanchenko 2 weeks ago updated 4 days ago 2

Hi! I faced with strange error during build in device (in Unity everything is OK)

1) Everything worked fine in game

2) I've updated unity to 2019.2.2 and updated bolt to 1.4.6 + Google resolver + Google Play Services

3) The code is almost the same but During the play on device could fireup this error:

MissingValuePortInputException: Missing input value for 'input'.
09-03 17:40:28.141: E/Unity(21861):   at Bolt.Flow.GetValue (Bolt.ValueInput input) [0x00000] in <00000000000000000000000000000000>:0 
09-03 17:40:28.141: E/Unity(21861):   at Bolt.Flow.GetValue (Bolt.ValueInput input, System.Type type) [0x00000] in <00000000000000000000000000000000>:0 
09-03 17:40:28.141: E/Unity(21861):   at Bolt.SetMember.Assign (Bolt.Flow flow) [0x00000] in <00000000000000000000000000000000>:0 
09-03 17:40:28.141: E/Unity(21861):   at System.Func`2[T,TResult].Invoke (T arg) [0x00000] in <00000000000000000000000000000000>:0 
09-03 17:40:28.141: E/Unity(21861):   at Bolt.Flow.InvokeDelegate (Bolt.ControlInput input) [0x00000] in <00000000000000000000000000000000>:0 
09-03 17:40:28.141: E/Unity(21861):   at Bolt.Flow.Invoke (Bolt.ControlOutput output) [0x00000] in <00000000000000000000000000000000>:0 
09-03 17:40:28.141: E/Unity(21861):   at Bolt.Flow.Invoke (Bolt.ControlOutput output) [0x00000] in <00000000000000000000000000000000>:0 
09-03 17:40:28.141: E/Unity(21861):   at Bolt.Timer.Update (Bolt.Flow flow) [0x00000] in <00000000000000000000000000000000>:0 
09-03 17:40:28.141: E/Unity(21861):   at Bolt.Timer.TriggerUpdate (Ludiq.GraphReference reference) [0x00000] in <00000000000000000000000000000000>:0 
09-03 17:40:28.141: E/Unity(21861):   at System.Action`1[T].Invoke (T obj

I Can't figure out what node missing the input

AOT list was created as usually. And there no Math.infinity function as in similar topic here in forum.

May be now there is something else that we shouldn't use in code?

thanks

Bolt Version:
1.4.6f3
Unity Version:
2019.2.2f1
.NET Version:
4
Under Review

Hi Max,

Are you using any other constant like Deg2Rad or Rad2Deg? They all suffer from the same problem as Mathf.Infinity unfortunately.

Lazlo, I rebuild the game several times and found the code which causes the error. This code is worked on old .Net version or old Unity, and after I updated all, it creates errors. I can't set the new color to particles!?