Simulator build is glitchy

Hello,

I need an iOS simulator build for the Facebook App Review. Here’s what I have done:

  • Changed the Target SDK to Simulator SDK in Unity’ PlayerSettings.

  • Built the XCode project.

  • In XCode, I selected run and build to create the simulator build.

However, after the process has finished and the game is played in the simulator, it looks very glitchy. All the colors look darker, some sprites, texts and images are black, there’s even a sprite that’s just a black square, and the game crashes near the beginning.

Normal builds for iOS (the ones that are not simulator builds) look and run perfectly on a device.

Does anyone know if this is a bug or there’s something I’m missing?

I’m using:

  • Unity 2018.4.23f1
  • XCode 12.5
  • macOS Big Sur Version 11.0.1

Unity 2018.4.23f1
this is quite old 8). iirc we’ve added metal support on simulator in 2020 or something, meaning that you run with gles with all the consequences (most likely not very tested both by unity and apple)

Thanks for the reply, I’ll try updating to Unity 2020.3.22f1. Could you confirm if that version has metal support on simulator, please?

Yes, metal simulator support was added in 2020.1, so 2020.3 LTS should be good.