Our 'Get One, Give One' promo on Lifetime Memberships is back! - Click here

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

Home 4 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 2 years, 10 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.




Become part of the CartoonSmart Team with our Affiliate Program

Make recurring money when you refer a subscriber. 30 day tracking. Commissions 33%-50%!


Uh oh, missing your affiliate ID. Create one real quick