The forum on this site is closed for new comments and posts. Continue the conversation in the new forum, and learn more here.

"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 Permalink
  • 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,
    Kaitlyn

    Comment actions Permalink

We're here to help! We just need a little bit of information...

What system are you using?

Have you downloaded the latest version of Lens Studio?

Please download the latest version of Lens Studio. If you still run into this issue, please come back and report it!

Is this issue causing Lens Studio to crash?

What system do you run Lens Studio on?

Version

Graphics

Follow the next steps to help us solve your issue:

  • Copy and paste this text into your TerminalCommand Window
    open ~/Library/Preferences/Snap/Lens\ Studio/ %LOCALAPPDATA%\Snap\Lens Studio Copy Text
  • Press ReturnEnter to run the command. The Lens Studio folder will automatically open
  • Prepare to upload your files: zip the "Log" Folder by right-clicking and choosing "compress."
    Locate the Log.txt file right above it.

    Attach a screenshot of the issue:

Name:

Email:

What is this most relevant to?

Please enter a brief description of your issue:

Thanks for submitting this issue.

Unfortunately, it's likely due to the operating system or hardware you're using – since they don't meet the system requirements for Lens Studio.

Still, we hear you loud and clear, and are logging the issue in case there's ever a workaround we can provide!

Minimum Requirements

Operating System: Windows 10 (64 bit); MacOS 10.11+

Hardware: Minimum of Intel Core i3 2.5Ghz or AMD Phenom II 2.6Ghz with 4 GB RAM; Intel HD Graphics 4000 / Nvidia GeForce 710 / AMD Radeon HD 6450 or better; screen resolution of 1280x768 or higher

We'll try to resolve this issue as soon as possible. Thanks for letting us know about it!

Keep an eye out for a followup email from us. We may have a couple more questions for you, or we might already have a solution to offer.

Happy creating!