Weird lag in launch and edit mode

Hi guys! Currently making an fps game and for some reason, it’s really laggy in the launch and slightly in edit mode. I’ve optimized it by a lot and I know it’s not heavy vertices/poly wise so I’m not sure why it does that. I’ve grouped the objects together as one so they aren’t too much when imported, and when looking at the sky, it stopped lagging and is smooth. I barely added things and codes and optimized it as much as I can so I’m not sure what I’m doing wrong. (and I still have to add characters and more props after this) I need this ASAP so any help will go a long way! Thanks guys :slight_smile:

PS. And it can’t be my computer bc my RAM, CPU and memory are high, so the computer isn’t the issue :frowning:

Here’s the code: PlayCanvas | HTML5 Game Engine

Its not laggy for me. NVidia 1060 3GB, MS Edge browser.

I did notice the following warning in the browser console on play startup.

Ignoring unsupported input property to standard material: dispersion

This can be ignored, that’s Editor getting ready for the next engine release.

thank you so much! fixed it :slight_smile: