Hi,
I was about to release my facial recognition app onto the Google Play store when I discovered it needed to be a 64-bit build. Having developed my app using Mono in Unity 2019.2.11f1, I had no idea it would fail when I switched to IL2CPP.
I don’t get any errors, it just hangs at this line when running on a Samsung Galaxy:
var res = await client.PublicModels.CelebrityModel.Predict(new ClarifaiFileImage(bytes)).ExecuteAsync();
I have a Debug.Log statement before and after that line and when IL2CPP is selected, the Debug.Log never gets called after the line above.
Are there any known issues with IL2CPP that might cause issues with using ‘await’ or API calls in general?
The app works flawlessly using Mono. The only change I make is changing the dropdown to IL2CPP (so at this point I am not even selecting ARM64). It’s so frustrating when what should have been a simple change before publishing is now preventing me from getting the app onto the store.
Any suggestions, possible fixes or guidance on where to look would be appreciated before I have no hair left to pull out.
Thanks in advance!