After checking that our app works fine on Windows and Android we are now trying to do the same on iOS, with less luck so far.
The app raises NullReferenceException errors that all refer to IEnumerator functions.
Example :
NullReferenceException: Object reference not set to an instance of an object.
at AppsGo.UnityController.PageController+d__14.System.Collections.IEnumerator.get_Current () [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <00000000000000000000000000000000>:0
In order to isolate the origin of the error I removed all the content of one of those IEnumerator functions that causes the problem, like so:
public IEnumerator CoroutineShowElement(Element element, float milliseconds)
{
yield return new UnityEngine.WaitForSeconds(milliseconds/1000);
}
Still raising errors.
If I remove all references to these functions I still get the same errors although the functions are not called anymore.
Before spending more time on trying to isolate the problem, does anyone ever had this type of problem before?
I am using Unity 2020.1.0f1 and my testing device is an iphone6 with iOS12.
I have put the crash log in attachment.
6195868–679681–crash_ios.txt (41.2 KB)