What is getGuid and how do I fix it?

I have this error and I don’t know what it means, error:

[playcanvas.dbg.js?version=1.53.4:34154]: Cannot read property 'getGuid' of undefined

TypeError: Cannot read property 'getGuid' of undefined
    at SceneParser._openComponentData (https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.53.4:34154:37)
    at SceneParser._openComponentData (https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.53.4:34169:25)
    at SceneParser.parse (https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.53.4:34102:9)
    at SceneHandler.open (https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.53.4:36117:24)
    at SharedSceneHandler.open (https://launch.playcanvas.com/editor/scene/js/launch.js:18255:34)
    at ResourceLoader.open (https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.53.4:36049:19)
    at https://launch.playcanvas.com/editor/scene/js/launch.js:14550:44
    at Application._preloadScripts (https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.53.4:72154:5)
    at https://launch.playcanvas.com/editor/scene/js/launch.js:14546:21
    at done (https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.53.4:72111:6)

I checked all of my scripts and none of them have “getGuid” in them.

Hi @Nicholas_Taylor! If I’m correct, this error is caused by a known bug. In the topic below you can read how you can fix this.

https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/

1 Like