Loading all assets from github repository

so, i have alot of assets in my game. there is so much, that it crashes the editor every time i run it. so, i was wondering if there is a way i could access the assets if i put them in a github repository. my game would get the assets from the repo, but it would not take up space in the project. is there a way i can do this?

How many assets is it? The parsing of the assets Editor is dependent on the computer but even with several thousand assets, I’ve not seen a hard crash.

Is the browser crashing? Might be related to the amount you have on the computer.

Can you link to the project to take a look please?

To answer your question, you can’t link to external files from the Editor but you can create assets from URLs at runtime.

If you search for loadFromUrl on the forum, you can find examples for various different type of assets

i don’t know how many assets exactly, but quite a few.
not the whole browser, just the editor
link: https://playcanvas.com/editor/scene/1327639
thanks i will try the loadfromurl thing

Can you post a link for the project dashboard please? For some reason, I can’t access it via the link to the scene

ok
https://playcanvas.com/project/770449/overview/l2d-season-4-rift-island

ok so i deleted some assets, and it works fine now. it seems to be that if my project size gets too close to 1 GB,(like, above 950MB), it does not work.

I’ve had a quick look at the project (added myself so that I can look at the main branch) and the number of assets that I saw was well within bounds.

I think it’s likely to be a computer related issue where your browser is struggling for some reason.

I did notice that there were some assets that seemed unnecessarily large. The shield drop model is VERY large 8MB for the model given the model is relatively simple.

There are also a number of pistol textures that are 8MB each and should be much smaller for a web game.

ok thanks