I have a problem with TileSet.sks. This is the defenition for TileMapNode.
I had some temp graphics in my TileSet.sks to check things worked ok. I am now upgrading the graphics, they are the same size but look different. When I insert the new graphics into my assets.xcassets replacing the old graphics and then clean the project, when I now try to open Tileset.sks Xcode crashes.
Here is the crash !! Any help would be much apeceated. Thanks
P.S I have noticed that if a graphic only touches 2 edges of a tile (128 x 128 etc) strange results can happen ??
Process: Xcode [2898]
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 [2898]
User ID: 501
Date/Time: 2017-06-30 09:53:50.067 +0100
OS Version: Mac OS X 10.12.5 (16F73)
Report Version: 12
Anonymous UUID: 94F7BB97-75BE-AD36-EAE9-7A9A74443C6F
Time Awake Since Boot: 8100 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:
ProductBuildVersion: 8E3004b
Assertion failed: (data == nullptr), function create_texture, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/Jet/Jet-2.20.1/Jet/jet_context_OpenGL.mm, line 369.
Thread 0 Crashed:: Dispatch queue: SKCRenderer_resource_queue
0 libsystem_kernel.dylib 0x00007fffb1d7ad42 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fffb1e68457 pthread_kill + 90
2 libsystem_c.dylib 0x00007fffb1ce0420 abort + 129
3 libsystem_c.dylib 0x00007fffb1ca7893 __assert_rtn + 320
4 com.apple.Jet 0x00007fffab28ff4f jet_context_OpenGL::create_texture(jet_texture_type, jet_texture_format, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, jet_texture_usage, void*) + 759
5 com.apple.Jet 0x00007fffab28db64 jet_context::create_texture_2d(unsigned int, unsigned int, jet_texture_format, void*, bool, jet_texture_usage) + 66
6 com.apple.SpriteKit 0x00007fffa2b9862e __38-[SKTexture(Internal) _backingTexture]_block_invoke + 263
7 com.apple.SpriteKit 0x00007fffa2be38b2 ___Z27SKCPerformResourceOperationU13block_pointerFvNSt3__110shared_ptrI11jet_contextEEE_block_invoke + 58
8 libdispatch.dylib 0x00007fffb1c168fc _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fffb1c17536 _dispatch_barrier_sync_f_invoke + 83
10 com.apple.SpriteKit 0x00007fffa2be3843 SKCPerformResourceOperation(void (std::__1::shared_ptr<jet_context>) block_pointer) + 112
11 com.apple.SpriteKit 0x00007fffa2b984aa -[SKTexture(Internal) _backingTexture] + 277
12 com.apple.SpriteKit 0x00007fffa2b99f83 -[SKTexture(Private) _newTextureFromGLCache] + 55
13 com.apple.IDESpriteKitParticleEditor 0x000000011f032449 -[SKTileSetEditorOutlineViewController outlineView:willDisplayCell:forTableColumn:item:] + 1789
14 com.apple.AppKit 0x00007fff99dfd05a -[NSTableView preparedCellAtColumn:row:] + 1833
15 com.apple.AppKit 0x00007fff99e858f0 -[NSOutlineView preparedCellAtColumn:row:] + 50
16 com.apple.dt.DVTKit 0x00000001060a87e8 -[DVTOutlineView preparedCellAtColumn:row:] + 53
17 com.apple.AppKit 0x00007fff99dfc7e1 -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 50
18 com.apple.AppKit 0x00007fff99e85861 -[NSOutlineView _drawContentsAtRow:column:withCellFrame:] + 93
19 com.apple.AppKit 0x00007fff99dfc350 -[NSTableView drawRow:clipRect:] + 1736
20 com.apple.AppKit 0x00007fff99dfbaab -[NSTableView drawRowIndexes:clipRect:] + 513
21 com.apple.AppKit 0x00007fff99e80317 -[NSOutlineView drawRowIndexes:clipRect:] + 113
22 com.apple.AppKit 0x00007fff99d0ae56 -[NSTableView drawRect:] + 1501
23 com.apple.AppKit 0x00007fff99cf1513 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1318
24 com.apple.AppKit 0x00007fff99cf0eb9 __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 267
25 com.apple.AppKit 0x00007fff99cf09e1 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 1589
26 com.apple.AppKit 0x00007fff99cf03a6 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 80
27 com.apple.QuartzCore 0x00007fffa1f82645 CABackingStoreUpdate_ + 3771
28 com.apple.QuartzCore 0x00007fffa20a1574 ___ZN2CA5Layer8display_Ev_block_invoke + 75
29 com.apple.QuartzCore 0x00007fffa20a108c CA::Layer::display_() + 1460
30 com.apple.AppKit 0x00007fff99cef23e _NSBackingLayerDisplay + 577
31 com.apple.AppKit 0x00007fff99ce24a6 -[_NSViewBackingLayer display] + 885
32 com.apple.QuartzCore 0x00007fffa209506e CA::Layer::display_if_needed(CA::Transaction*) + 572
33 com.apple.QuartzCore 0x00007fffa2095199 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 35
34 com.apple.QuartzCore 0x00007fffa208a950 CA::Context::commit_transaction(CA::Transaction*) + 280
35 com.apple.QuartzCore 0x00007fffa1f7f881 CA::Transaction::commit() + 475
36 com.apple.AppKit 0x00007fff99fc48b1 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke.31 + 323
37 com.apple.CoreFoundation 0x00007fff9c0b8de7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
38 com.apple.CoreFoundation 0x00007fff9c0b8d57 __CFRunLoopDoObservers + 391
39 com.apple.CoreFoundation 0x00007fff9c099b09 __CFRunLoopRun + 873
40 com.apple.CoreFoundation 0x00007fff9c099544 CFRunLoopRunSpecific + 420
41 com.apple.HIToolbox 0x00007fff9b5f9ebc RunCurrentEventLoopInMode + 240
42 com.apple.HIToolbox 0x00007fff9b5f9bf9 ReceiveNextEventCommon + 184
43 com.apple.HIToolbox 0x00007fff9b5f9b26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
44 com.apple.AppKit 0x00007fff99b92a54 _DPSNextEvent + 1120
45 com.apple.AppKit 0x00007fff9a30e7ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
46 com.apple.dt.DVTKit 0x0000000105ea52e4 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 394
47 com.apple.AppKit 0x00007fff99b873db -[NSApplication run] + 926
48 com.apple.AppKit 0x00007fff99b51e0e NSApplicationMain + 1237
49 libdyld.dylib 0x00007fffb1c4c235 start + 1