"This lens is invalid"
-
Hey,
I was having the same issue, with no explanation and no optimization issues appearing to be the cause. The solution was that the source folder where the .lsporj was stored had been renamed and didn't match the name of the .lsproj.
Happened by accident to me, so I'd recommend checking that the .lsproj and its host have the same name.
Hope it helps, good luck!
Comment actions -
Hey barksy5,
If brockmanatee's suggestion doesn't work out, do you happen to have 2D animation in the Lens? If so, your Lens may unpack to over 20mb, and would then be rejected by our system.
Here are some tips to reduce the unpacked file size for 2d animation:- Combine animation images into one larger png (as compared to multiple images)
- When importing images please check that the “Single texture maximum size” is set to 2048.
- Optionally change the “Files Count” as needed depending on how much of your animation you want to pack in.
Once you have made these changes and saved the project, you can take a look at the folder again to see whether your file size has reduced. All your assets cannot in total exceed 20mb. If the total is still large, you can change the “with quality” field in the “Format settings” section when importing your animation. For more control, you can compress your source images before importing, or the exported atlases after in your preferred graphic program.
For more information on 2D animation importing, checkout this guide. Also please take a look at our performance and optimization guide for even more tips on reducing file size.
Please let me know if you need any further clarification.Cheers,
KaitlynComment actions
Please sign in to leave a comment.
Have a comment?