I had set the preferred rendering api to openGL for compatibility with my old MacBook when in the simulation environment. Which caused the error you had in the new M1. I removed this override and the error is gone.
Topic:
Graphics & Games
SubTopic:
SpriteKit
Tags: