Spritekit scene file crashes when edited

Hi All,


Working with Version 9.0 beta 5 (9M202q). I have several levels to my project made up of Spritekit scenes using SKTileMap. I have a BackgroundSKNode which contains a background pic of type SKspriteNode defined as 1024 x 768 but the texture for this sprite is 2048 x 1536. This has worked fine, up untill now as then I change the graphic Xcode crashes.


Process: Xcode [651]

Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode

Identifier: com.apple.dt.Xcode

Version: 9.0 (13226.5)

Build Info: IDEFrameworks-13226005000000000~14

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Xcode [651]

User ID: 501



Date/Time: 2017-08-17 07:53:35.236 +0100

OS Version: Mac OS X 10.12.6 (16G29)

Report Version: 12

Anonymous UUID: 94F7BB97-75BE-AD36-EAE9-7A9A74443C6F





Time Awake Since Boot: 2300 seconds



System Integrity Protection: enabled



Crashed Thread: 0 Dispatch queue: SKCRenderer_resource_queue



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY



Application Specific Information:

Sending userDidChangeValue: to <SKInspectorTextureProperty: 0x7fecc8934b70> from <NSComboBox: 0x7fecc732d980>

ProductBuildVersion: 9M202q

Performing @selector(userDidChangeValue:) from sender NSComboBox 0x7fecc732d980

Assertion failed: (data == nullptr), function create_texture, file /Library/Caches/com.apple.xbs/Sources/Jet/Jet-2.25/Jet/jet_context_OpenGL.mm, line 369.

I have the same problem!


I'm using mac book pro 2017

xcode 8.3 and 9.


Process: Xcode [434]

Path: /Applications/Xcode.app/Contents/MacOS/Xcode

Identifier: com.apple.dt.Xcode

Version: 8.3.3 (12175.1)

Build Info: IDEFrameworks-12175001000000000~12

App Item ID: 497799835

App External ID: 822319371

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Xcode [434]

User ID: 502

Date/Time: 2017-09-12 15:45:09.153 -0300

OS Version: Mac OS X 10.12.6 (16G29)

Report Version: 12

Anonymous UUID: 1A130747-8254-8A25-52E4-07DB0A665597

Time Awake Since Boot: 160 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Hi SySware,


I solved the problem. The graphics I used to make the TileMap blocks with, are an image set in the asset catalogue. I had defined them as Universal i.e

128 x 128 / 256x256 / 384x384. This made the TileMap editing unstable. When I removed all but the 128x128. Did a clean, quit xcode and restarted I could edit the tileMaps again and change the animation. In the xcode example Demo Bots they only use the small image, I thought is was just them but maybe that is the only way it works.

Spritekit scene file crashes when edited
 
 
Q