#toktx
1 messages · Page 1 of 1 (latest)
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
It appears i haven't installed it at all, how can i install it? @kind pine
See the links here please: https://engine.needle.tools/docs/getting-started.html#install-these-tools-for-production-builds
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...
Anything i can do about this? @kind pine
thanks for the previews link 😄
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
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.
Heyo this seems wrong.
what worked for me and didn't need a reboot (might need unity hub restart) is to add C:\Program Files\KTX-Software\bin into the system Path directories entries
That should be it then, my apologies and thanks for clearing it up! 🙌🏻
Thanks for the info here! We should clarify this in the docs.
That would really help!
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
I've had the exact same error before with 7zip
With 7zip?
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!
Added some information here now 🙂 https://engine.needle.tools/docs/faq.html#toktx-can-not-be-found-toktx-is-not-installed
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.
And thanks for the feedback + suggestions! Always welcome and we try to improve as much as we can 🙂
are docs publicly editable? i guess we should just add notes and you can approve it?