- Home /
What can I do to solve this error?
I finished my game and I tried to publish it using WebGL and It would stay at 0% on the processing page. Then, I tried to post it to unity by attaching the zip file and that doesn't work either it gives me this error: "[InvalidParameter] The given parameter is missing or invalid:can't more than 50 (Dependencies)". Then, I tried to publish it on SIMMER.io and it didn't work there either. So what I'm trying to figure out is how I can post this on Unity.
Thank you.
$$anonymous$$aybe your files exceed file size limit?
I am also receiving this error. Not sure why, but I plan to keep digging.
I am attaching a screenshot of the error in case someone wants it.
Answer by PerfectTheo · Mar 08, 2021 at 09:54 PM
Not sure if anyone is still following this thread, but since I couldn't find anywhere else that had the answer, leaving this for the poor souls like myself that hit this down the road.
ANSWER: After a lot of digging and guessing, I found out that my project had 51 dependencies defined in its package.json. Because I am not familiar with how/why these are all included in the dependency list (despite never actually being used by the game), I removed a couple packages that I knew I weren't used by uninstalling them via the Package Manager. When I had only 49 dependencies, I was able to build and deploy my game just fine.
I still don't have an answer for why every single package installed into Unity gets added as a dependency to a game, which is the REAL root cause here, but at least I can build/publish for now and solve that problem another day.
Your answer
Follow this Question
Related Questions
Streaming Assets Path working on Windows but not on Android. 1 Answer
Missing Textures when exporting FBX to 3DS Max,Trouble exporting FBX to 3DS MAX 0 Answers
Exporting to iOS device breaks game and causes errors 0 Answers
Some Doubts with Finishing my game-map 2 Answers
How to export blendshapes as an fbx from Maya to import into Unity? 0 Answers