Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Unity crash

Discussion in 'Editor & General Support' started by juanchocoreano, Mar 7, 2023.

  1. juanchocoreano

    juanchocoreano

    Joined:
    Oct 21, 2021
    Posts:
    8
    Hi! How are you?

    I am using Unity with window.
    Suddenly this error happens with my PC. It works well with my other PCs.

    I maed a UI button and link to TestT method.
    -----------------------------------------------------------------------------
    public int testNum = 0;
    public void TestT()
    {
    testNum++;
    Debug.Log(testNum);
    }
    ------------------------------------------------------------------------------

    Then I click the button it happens.,
    upload_2023-3-7_22-16-39.png
    It's screenshot. with just one click it keep increasing without stopping.

    It never happens with my laptop. It's very weird.

    I just did WIndow format and reinstall the unity.
    Anyone can help me please??
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,969
    Can you send how you call TestT?
    On the button probably?
    And do you have any other warnings or errors?
     
  3. juanchocoreano

    juanchocoreano

    Joined:
    Oct 21, 2021
    Posts:
    8
    Yes, of course,

    upload_2023-3-7_22-33-38.png
    Linked to On click.
    It works well with my laptop.

    There is no warning or error message.
     
  4. juanchocoreano

    juanchocoreano

    Joined:
    Oct 21, 2021
    Posts:
    8
    Problem solved!
    It was mouse or USB port problem.

    New Mouse with different USB Port woks well!!

    Thank you for response!
     
    DevDunk likes this.