Closed SerenaSchiffer closed 5 years ago
If you are using IL2CPP, it is possible that localEulerAngles gets stripped by the engine code stripping functionality. Try using localEulerAngles in your code like this:
void Start()
{
var dummyVar = transform.localEulerAngles;
}
That absolutely solved it, I completely forgot about code stripping.
Thanks for the quick answer !
Hey, I've been using the inspector to position AR objects spawned from markers properly. I would need to use the local euler rotation field to do that propery, but I can't see it on mobile. However, it is visible in the unity editor play mode.
Any ideas on how to make it appear on mobile ?
Thanks !