Toktx Installation

Hi!! I am trying every thing to install Toktx but this error don’t vanish and I cannot compile in production or development, I am trying to add path in system and I have been installed that a lot of times, I would be very thankful for any information.

Original Post on Discord

by user 1027250502272036964

Please dont open multiple posts for the same problem

Ok, excuse me, I am learning about this

by user 1027250502272036964

But I did’t open for this before

by user 1027250502272036964

Can you open a command line window (Win+R, type “cmd”, press Enter) and run toktx -v and let us know what happens?

yes you did: Discord

without toktx you should still be able to do development builds. What happens if you run a dev build?

I had the same error, which can be caused by multiple things. Installing like the following proved the best way to solve it:

  • Uninstall all Toktx
  • Reinstall only for your current user
    • Make sure to tick the “add to path” checkbox
    • There may or may not be an error when installing, saying that your variable couldn’t be added because it’s too long/short.
  • Press OK, it is installed nevertheless
  • Add the path variable manually to your environment variables
  • Make sure to reboot your computer before launching Unity
  • Everything should work now, when clicking on prod. build

by user 474974683163394049

image.png

by user 474974683163394049

by user 474974683163394049

Thanks!!, I go to try!! Your help is awesome

by user 1027250502272036964

by user 1027250502272036964

I did all your suggested steps

by user 1027250502272036964

And now open cmd and type toktx -v which was suggested earlier. Any changes?

by user 474974683163394049

If that still yields no useable result (toktx is not a known command blabla…) check your PATH variable content via cmd with the command echo %PATH% and check if the toktx path is part of this. Should be the last entry ^^

by user 474974683163394049

I gop to review because I followed all steps and error still

by user 1027250502272036964

Thanks for your help

by user 1027250502272036964

so just for clarification, the toktx path is not visible in your command line? :thinking:

by user 474974683163394049

i mean after typing echo %PATH%

by user 474974683163394049

no

by user 1027250502272036964