Bug. Attributes are not being saved in the Scene Editor in Xcode 7.3

Home Forums Swift and Sprite Kit Bug. Attributes are not being saved in the Scene Editor in Xcode 7.3

This topic contains 0 replies, has 1 voice, and was last updated by  Justin at CartoonSmart 6 months ago.

  • April 1, 2016 at 3:39 pm #145202

    Well this is certainly a bummer to discover. Looks like changes to attributes in the Scene Editor are not being saved in Xcode 7.3. Easy way to test this bug…

    • Set the Physics Body on any sprite in the Scene Editor.
    • Change one of the defaults, like Restitution.
    • Quit Xcode
    • Open up Scene again and you’ll find the defaults are back! Eek.

    Workaround…

    If your sprite is a Custom Class, you can hard code in the values in your class file with a line like this…

    self.physicsBody?.restitution = 0

    But obviously, this is a pretty major bug. Let Apple know folks… https://bugreport.apple.com

    Xcode 7.3 Scene Editor Bug

You must be logged in to reply to this topic.