videokit-ai / natcorder

High performance, cross-platform video recording for Unity Engine.
https://github.com/natmlx/videokit
Apache License 2.0
101 stars 19 forks source link

InvalidOperationException: NatCorder session token is invalid. Check your NatML access key. #22

Closed stars66 closed 1 year ago

stars66 commented 1 year ago

That error occurs on WebGL. Cannot record.

olokobayusuf commented 1 year ago

Hey @stars66 can you share your manifest.json along with the full text of the error from the device browser? Also in Player Settings, what is your Company Name and Product Name? And what is your NatML Hub username?

stars66 commented 1 year ago

Thanks for your response. I solved the issue. Problem was in Opsive plugin.

olokobayusuf commented 1 year ago

Sounds good!

stars66 commented 1 year ago

One question, How can I download webm video?

olokobayusuf commented 1 year ago

For questions like this, I recommend asking on our Discord community.

To answer your question, switch over to VideoKit, then use the VideoKitRecorder component and set the destination setting to CameraRoll.