NEW: Subscribe to Hacking with Swift+ and accelerate your learning! >>

Physics bodies are not working with Textures

Forums > Swift

So I guess there was an update that made physics bodies not work with textures in SpriteKit. Evertime I run the project on an IOS 13.0 simulator or later the error comes up saying "Physics bodie could not be created". What should I do? I cant find an answer anywhere.

   

It seems to be a problem related strictly to the simulator. In my case, downgrading the simulator to iOS 12.x.x or using a real device (even with the newest iOS) executes the code flawlessly. So I hope for the Xcode engineers to fix that soon.

   

Hacking with Swift is sponsored by Paw

SPONSORED Use Paw to build, test and describe web APIs. Paw has a lightning fast native macOS interface to compose requests, collaborate in real-time on API specs, and generate client code for your applications. You can import and export API definitions.

Discover Paw for Mac

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

Not logged in

Log in
 

Link copied to your pasteboard.