- Home /
astcenc.exe takes a very long time
Hi,
I'm creating a game using the ASTC format.
This has been working fine untill recently where Unity would stop for a very long time and not respond. In Windows Task Manager I can see a program "astcenc.exe" using up 100% CPU and not displaying anything.
I understand this is probably... encoding ASTC but why did I have to go to Windows Task Manager to figure out that Unity isn't just crashing on me?
Not only this but I have to end task if I want to stop the process (which is often because I have no idea how long the entire process will take as there is no GUI)
Am I doing something wrong here to make this happen or is this just something the Unity Devs overlooked?
The reason astcenc.exe takes a very long time is due to the method ASTC uses to encode its images.
I won't go into detail into how its done but it should be possible to reduce the encoding speed (and therefor quality) somehow. Once I figure out how this is done I will post it here as an answer