Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Failed to generate ETC texture

Discussion in 'Android' started by Zahidylin_Marat, Nov 16, 2014.

  1. Zahidylin_Marat

    Zahidylin_Marat

    Joined:
    Jul 28, 2012
    Posts:
    114
    Hi. All was fine till this day. But:
    1)Yesterday I have Build Android game for Web.
    2)Today I have build this game back to android and got error:

    Failed to generate ETC texture
    UnityEditor.HostView:OnGUI()



    3)Now if I open any of my projects and they are already switched to Android Build - all is fine. But when I do Switch Platform to Web and then back to Android - I get this error.

    Who know, how can I fix it? And why I got this error?
     
    Last edited: Nov 17, 2014
  2. Zahidylin_Marat

    Zahidylin_Marat

    Joined:
    Jul 28, 2012
    Posts:
    114
    Hi. The problem was in virus. I downloaded USB drivers, but it was very bad virus (including advertising in top of each browser window). So, it wasn't unity problem - after reinstalling Windows - now all is fine.
     
    Nomibuilder likes this.
  3. Nomibuilder

    Nomibuilder

    Joined:
    Apr 24, 2014
    Posts:
    20
    Solved. It was caused by some Virus. I re Installed my Windows and it did the trick.
     
  4. Jessespike

    Jessespike

    Joined:
    Jul 9, 2012
    Posts:
    44
    What virus and what usb drivers? (Tell us so others can avoid same issue) Did you try re-importing your assets after switching platforms? Re-installing windows seems very unnecessary.
     
    Last edited: Feb 25, 2015
  5. Zahidylin_Marat

    Zahidylin_Marat

    Joined:
    Jul 28, 2012
    Posts:
    114
    I dont remember. Yes I did try reimport many times. Only reinstalling of window helped.
     
  6. ArXen42

    ArXen42

    Joined:
    Jul 11, 2014
    Posts:
    7
    Yes, reinstall forever! Re-inst-all, re-inst-all!!!
    P.S. I have this problem while building for android on Linux under Wine. On Windows all fine.