Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/98.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jet:draw_索引:在iOS 9.2设备上崩溃_Ios_Sprite Kit_Metal - Fatal编程技术网

Jet:draw_索引:在iOS 9.2设备上崩溃

Jet:draw_索引:在iOS 9.2设备上崩溃,ios,sprite-kit,metal,Ios,Sprite Kit,Metal,在向场景添加SKEmitterNode时,我看到了此崩溃。是否存在通过接口控制“索引”的方法,还是它是一个金属缺陷?我尝试在info.plist中将YES设置为PrefersOpenGL标志,但不起作用 2015-12-19 22:49:41.967 appname[4190:1827024] Jet: draw_indexed: indexType must be 'unsigned_int' or 'unsigned_short' Assertion failed: (indexType =

在向场景添加SKEmitterNode时,我看到了此崩溃。是否存在通过接口控制“索引”的方法,还是它是一个金属缺陷?我尝试在info.plist中将
YES
设置为
PrefersOpenGL
标志,但不起作用

2015-12-19 22:49:41.967 appname[4190:1827024] Jet: draw_indexed: indexType must be 'unsigned_int' or 'unsigned_short'
Assertion failed: (indexType == jet_component_type_unsigned_int || indexType == 
jet_component_type_unsigned_short), function draw_indexed, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/Jet/Jet-1.50.1/Jet/jet_context_Metal.mm, line 1275.

看起来很像tvOS错误。我得到了一个类似的错误,但在tvOS上。此外,它位于该文件
jet\u context\u OpenGL.mm
非金属上。你怎么知道这是因为一个SKEmitterNode?我有一个非常复杂的emitternode,它是在一个旧的XCode中为iOS8创建的。在Xcode 7之前的各种beta Xcode中已经打开了相同的文件。与困扰iOS9的其他spritekit bug一样,我认为这是相关的。在粒子系统中,它甚至在相同的持续时间后崩溃,所以它肯定和某些粒子指数有关。加载其他粒子文件很好。@Helium3什么时候崩溃?你在玩游戏的时候?我的在游戏结束时崩溃。@Paul-我加载了一个特定的SKEmitterNode,几秒钟后就崩溃了。看起来很像tvOS错误。我得到了一个类似的错误,但在tvOS上。此外,它位于该文件
jet\u context\u OpenGL.mm
非金属上。你怎么知道这是因为一个SKEmitterNode?我有一个非常复杂的emitternode,它是在一个旧的XCode中为iOS8创建的。在Xcode 7之前的各种beta Xcode中已经打开了相同的文件。与困扰iOS9的其他spritekit bug一样,我认为这是相关的。在粒子系统中,它甚至在相同的持续时间后崩溃,所以它肯定和某些粒子指数有关。加载其他粒子文件很好。@Helium3什么时候崩溃?你在玩游戏的时候?我的在游戏结束时崩溃。@Paul-我加载了一个特定的SKEmitterNode,几秒钟后它就崩溃了。