Thien
December 4, 2023, 6:32pm
1
Hello!
We have recently received this error in the editor when trying to make changes to the scene:
The dev console shows this error:
This is our current map editor scene:
Is there a maximum scene size of 16 MB? And if so - is there anything we can do to get around it, other than splitting it into multiple scenes?
Hi @Thien !
There is a size limit for the scene based on the size limit of a JSON file. Please check the topic below. It’s unclear to me what the current size limit actual is.
We got this question via email support and were having trouble having multiple instances of a complex model in the scene with the error: ‘Error while saving changes. Please refresh the editor’ when cloning.
The reply we sent was:
Yes, there is a limit of the size of the scene when it’s in JSON which is about 11MB.
If you have a model that has that many entities in its hierarchy, you would either have to:
Instance/create them at runtime rather than in the scene in the Editor. Example here (h…
Mongo has a limit of 16MB json blobs. If you’re able to split the scene into multiple scenes, that’s probably the best solution.