Graph not working iOS, works in Editor

Alessandro 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 5

I have an odd issue with an apparently simple graph which works perfectly in the Editor.

What the graph does is rotating an arrow (UI element) so it always points towards the goal.

For some reason, it doesn't work on iOS and the arrow remains static, while it turns and point correctly on the editor.

Is there some function which should not be used on iOS?

Picture below, macro attached.Point towards goal.asset


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

Did you run AOT prebuild?

Always! I don't breath without running AOT pre-build.

All other graphs work as expected, it's only this particular one which doesn't seem to work on the iOS build.

No idea but there are a lot of units with flow inputs/outputs not having any flow. It does sound like a platform issue though but I'd check if adding flow fixes it. Wouldn't hurt to try. 


Happy to report I found a solution.

Xcode said something about not finding a divisor, and the only divisor is the Unit "Mathf Get PI". I just replaced that unit with a float with the value 3.14 and it all works like a charm.