Hi all - I am trying to deploy to Glitch, but I keep getting an error:
ERR: failed to process file âC:\Users\hwdks\MaterialChanger\Needle\newProject\dist/assets/MaterialBaseTest.glbâ, Reason: Invalid string length
Hi, i havent seen this error before so itâs not immediately obvious whatâs causing this. Do you get any other logs or errors that are suspicious?
Btw just a tip: if you dont want to export objects that you donât need set them to âEditorOnlyâ (unity tag) instead of just disabling the object (disabled objects will still be exported and included in your GLB even if you never use them - Needle Engine can not know that beforehand)
And yes the space on the free glitch server is limited, deployments should be 50 mb max (your one glb is already 700mb which is very very very large!!!)
I think I figured out the problem - it all stems to the file size being too large. When I run with like nothing in the scene, it doesnât throw the error. Same when uploading to Glitch.
Hi, I think something in the scene is causing the error (altough yes your scene is too big for Glitch indeed but either way: 700 MB is too large for any website)
Would you mind sending a bugreport (Menu item âNeedle Engine/Report a bugâ) with your large scene? Iâd be curious to see whatâs the largest parts