When running the project on my device, and pressing the “Start Game” button, the screen goes black and an error message displays in the debug console.
xcode execution of the command buffer was aborted due to an error during execution caused gpu hang error ioaf code 3
If I comment out the isHidden = true for either the truckNode or the groundNode I do not get the error, but obviously both are needed for the app to be of use. Additionally, if I comment out the line:
scene.lightingEnvironment.contents = “MonsterTruck.scnassets/Textures/Environment_CUBE.jpg”
in the initScene method, it seems to work, but then the truck is completely black.