打开场景失败

[Scene] Cannot set property ‘_siblingIndex’ of null
Error: Method does not exist(scene.queryLastCache)
打开场景失败 cocoscreator版本3.6.2
类似问题https://forum.cocos.org/t/topic/142071/4
大概引起这个问题的原因是因为"撤消"操作 比如删除一个节点,然后撤消操作可能就会引起这个问题
有朋友知道怎么恢复场景,不然场景得从头编辑

搜索下chilren字段,这个对应一个数组,看看里面是否有null,如果有,删除掉,我们会尽快修复这个问题

1668070249877
3.6.2 撤消,同错。
对比发现这里有问题,删掉就可以打开了。
希望有帮助…

3赞

拯救了我…

拯救+1 差点以为一下午的工白费了

[Scene] Open scene failed: 6f870433-d48f-41b1-b45b-a69c03cb37e6

[Scene] Cannot set property ‘_siblingIndex’ of null

[Scene] open scene failed 6f870433-d48f-41b1-b45b-a69c03cb37e6 Error: Method does not exist(scene.queryLastCache)

场景又打不开了,我这里children 没有null 也是打不开

image
找到了,藏得真深

2赞

真无语啊,还好解决了,不过东西没了