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