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’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Bug File with no name and icon propagate in all Project folder and unable to delete. Solution: Just rest

Discussion in 'Editor & General Support' started by AlanMattano, Sep 10, 2020.

  1. AlanMattano


    Aug 22, 2013
    Minor Bug

    I make a new C# file and when I was giving to it the name, by mistake I passed into the name this script

    // Print the file.
    public void Printing()
    streamToPrint = new StreamReader (filePath);
    printFont = new Font("Arial", 11);
    PrintDocument pd = new PrintDocument();
    pd.PrintPage += new PrintPageEventHandler(pd_PrintPage);
    // Print the document.
    streamToPrint.Close() ;
    catch(Exception ex)

    Turns out the file was not created but the reference was there with no name and no icon. This reference blanc reference file was all across the Project (one in each folder). The file was not showing in explorer.

    To fix this I just restarted the project.
    I did not make a bug report.