#toktx

1 messages · Page 1 of 1 (latest)

coral ore
#

Hello, im getting this error on the console in Unity.
After i try to do Build & Deploy this error appears, any ideas?

kind pine
#

Hello @coral ore can you check that you have toktx properly installed ? You can run toktx --version in your terminal/commandline. Please paste the output here

coral ore
#

It appears i haven't installed it at all, how can i install it? @kind pine

kind pine
#

Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development, and can be deployed anywhere. It is flexible, extensible, and collaboration and XR come naturally. Needle Exporter for Unity bridges the Unity Editor and the web runtime. It helps you to export your assets, animations, lightmaps and so on to the web. It is...

coral ore
#

Anything i can do about this? @kind pine
thanks for the previews link 😄

kind pine
#

Yes, you can add it manually in the system environments PATH variable (it needs the path to the bin folder where toktx is installed to).

You can also first try to restart your pc and do a production build again after that - if you installed to the default location. It may also work without the path being set correctly

dry ore
#

That path should be C:\Program Files\KTX-Software\bin If you installed it on a Windows 64 bit device! (and on your C drive ofcourse :P)

#

Never know when someone looks for this and this is what they needed! To find system environments just typing enviro in your searchbar of start will likely show it, then click on the last button on the left menu. Press "New" to add a new variable.

marsh mural
dry ore
kind pine
#

Thanks for the info here! We should clarify this in the docs.

dry ore
kind pine
#

I think the compression pipeline already automatically finds the default toktx installation and adds it to the path but just the Unity package doesnt know that yet / check that path.

#

Would be great to get rid of this requirement (on windows at least) completely with the broken toktx installer

dry ore
#

I've had the exact same error before with 7zip

kind pine
#

With 7zip?

dry ore
#

Yeah, so I added 7z and 7zip as Variables on the .exe and apparently 7z on the .dll too 😂

#

"Better work now" after that, as stackoverflow gave all these solutions. Yeah having it documented is gonna relief some frustration

#

Over the years having been in all these early startups with new innovative tech in the browser, the quality of the documentation is what mattered in the end. It's interesting to see it from a UX perspective where and how quick people can give up on something (really good). Great to see it being the case with needle atleast (although early on... ;p) with such few people!

kind pine
#

Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development, and can be deployed anywhere. It is flexible, extensible, and collaboration and XR come naturally. Needle Exporter for Unity bridges the Unity Editor and the web runtime. It helps you to export your assets, animations, lightmaps and so on to the web. It is...

#

And improved/fixed the Unity check. Adding it to the path shouldnt be a requirement anymore in the next latest version. Our gltf build pipeline was already adding it to the path on windows when found in the default location - just the Unity package didnt check that properly too.

kind pine
#

And thanks for the feedback + suggestions! Always welcome and we try to improve as much as we can 🙂

marsh mural
#

are docs publicly editable? i guess we should just add notes and you can approve it?