Weird performance issues

https://playcanvas.com/editor/scene/1287115

I don’t know why but why I try to test that scene it will only run at 13 fps (at best). According to stats, the scene only has 49 draw calls.

I compared with a different scene (of the same project). The other one ran at a stable 60 fps with just 35 draw calls.

Is the performance issue because of draw calls (what I normally wouldn’t suspect) or because of something else?

Thanks in advance

Might be related to the dimension size (4K) of your textures?

Try reducing them to 1024 and see if that helps?

That scene is using 1.8GB of VRAM. Depending on your PC, that could be causing issues depending how much VRAM you have.

2 Likes

WHAAAT!!! So much VRAM!?!?!?!?!

Thanks so much for letting me know. Otherwise, I would’ve deleted everything on that map

Can you help me again pls?

when I try to run the same scene, it says:

[playcanvas-1.49.4.dbg.js:35114]: Cannot read properties of undefined (reading 'getGuid')

TypeError: Cannot read properties of undefined (reading 'getGuid')
    at SceneParser._openComponentData (https://code.playcanvas.com/playcanvas-1.49.4.dbg.js:35114:37)
    at SceneParser._openComponentData (https://code.playcanvas.com/playcanvas-1.49.4.dbg.js:35129:25)
    at SceneParser._openComponentData (https://code.playcanvas.com/playcanvas-1.49.4.dbg.js:35129:25)
    at SceneParser._openComponentData (https://code.playcanvas.com/playcanvas-1.49.4.dbg.js:35129:25)
    at SceneParser._openComponentData (https://code.playcanvas.com/playcanvas-1.49.4.dbg.js:35129:25)
    at SceneParser._openComponentData (https://code.playcanvas.com/playcanvas-1.49.4.dbg.js:35129:25)
    at SceneParser.parse (https://code.playcanvas.com/playcanvas-1.49.4.dbg.js:35061:9)
    at SceneHandler.open (https://code.playcanvas.com/playcanvas-1.49.4.dbg.js:37077:24)
    at SharedSceneHandler.open (https://launch.playcanvas.com/editor/scene/js/launch.js:18247:34)
    at ResourceLoader.open (https://code.playcanvas.com/playcanvas-1.49.4.dbg.js:37009:19)

Do you maybe know where that problem comes from?

I tried on both 1.50 and 1.49, and it’s the same problem

Down below is the error that I get in the editor

That is due to the following issue outlined here: Cannot find child entity of parent "Root" - Editor error, can't delete entities

I’ve fixed your project and also given you an extra 1GB of storage because of the extra space used to do the fix.

1 Like

Wow, thank you for that and big thx for that extra 1GB! This will definetly come in handy for my project