SpriteKit macOS Catalina bug: Strange artifacts

There are strange artifacts being rendered when running my SpriteKit game on macOS Catalina (10.15)


Steps to reproduce:

Just create a new SpriteKit game for macOS from the default Xcode template, and you should see these artifacts appear.


Device:

MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports)

Intel Iris Graphics 550 1536 MB


Note that SceneKit appears to be unaffected.


Not really sure what I should do as there doesn't seem to be a fix. Tried all types of settings (debug mode, release mode, ignoresSiblingOrder, etc.) Might be time for me to finally learn Metal 🙂

Accepted Reply

Do you just see these problems when running in XCode? Do the same problems exist if you execute the built app from the product build directory?

Replies

Do you just see these problems when running in XCode? Do the same problems exist if you execute the built app from the product build directory?

Thanks. This fixes it. Note you can also disable "debug executable" as well. Obvoulsly not ideal when developing but at least I know macOS users won't be encountering this issue.