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. Dismiss Notice

Bug Unity Gets Stuck On Application.UpdateScene After New Script Creation, after adding ECS 1.0

Discussion in 'Entity Component System' started by tgkthefirst, Sep 30, 2022.

  1. tgkthefirst

    tgkthefirst

    Joined:
    Dec 27, 2020
    Posts:
    13
    Been following the Entities tutorial, after a while every time I create a new script this happens:
    upload_2022-9-30_19-41-9.png
    and it goes on and on endlessly
    Although it's ok when I haven't entered play mode since the project has started, but after entering play mode and creating a new script this happens
    Only solution is to end unity from task manager and restart, which is very time consuming
     
    Gravesend, zaaasgames and mrbinggrae like this.
  2. tgkthefirst

    tgkthefirst

    Joined:
    Dec 27, 2020
    Posts:
    13
    mrbinggrae likes this.
  3. mrbinggrae

    mrbinggrae

    Joined:
    Mar 6, 2016
    Posts:
    14
    I'm having the same problem. Unity 2022.2.0f1 version. Creating or deleting the script causes the same bug. Is there any workaround?
     
  4. zaaasgames

    zaaasgames

    Joined:
    Apr 12, 2020
    Posts:
    7
    Same problem running Unity 2022.2.0f1 & Entities 1.0.0-pre.15
     
  5. Philipp3p

    Philipp3p

    Joined:
    Nov 15, 2017
    Posts:
    3
    Same here, even with version 2022.2.0b16 beta
     
  6. Spy-Master

    Spy-Master

    Joined:
    Aug 4, 2022
    Posts:
    284
  7. zaaasgames

    zaaasgames

    Joined:
    Apr 12, 2020
    Posts:
    7
    The problem still happens for me in 2022.2.1f1
     
  8. Philipp3p

    Philipp3p

    Joined:
    Nov 15, 2017
    Posts:
    3
  9. zaaasgames

    zaaasgames

    Joined:
    Apr 12, 2020
    Posts:
    7
    For anyone else with this problem, I did find somewhat of a solution. You have to create a new a project, and BEFORE you install com.unity.entities.graphics you have to switch from .NET Standard 2.1 to .NET Framework in Project Settings > Player > Other Settings > Configuration > Api Compatibility Level (It doesn't work to change this setting on a project with ecs already installed, because changing the setting just freezes up the editor the same as creating a new script.) After this, you then install ecs, then you have to restart the editor. Then it works (for me at least). No idea why, but until the bug gets fixed it's the only solution I've been able to find.
     
    ufo_zj, Ootgard and mrbinggrae like this.
  10. mrbinggrae

    mrbinggrae

    Joined:
    Mar 6, 2016
    Posts:
    14
    thank you Thanks to you, I escaped hell.
     
  11. ufo_zj

    ufo_zj

    Joined:
    Nov 7, 2018
    Posts:
    6
    I am using 2022.3.9f1, but this issue is still there.
    After changing to .NET Framework, I do not have this problem when deleting a script.
    However, it happens when I create a script. The good thing is, not every time.
     
    Last edited: Sep 13, 2023
    koonm likes this.
  12. huyvuvi123

    huyvuvi123

    Joined:
    Jul 10, 2022
    Posts:
    2
    I am using 2022.3.10f1 or 2022.3.11f1, but this issue is still there.
    Why hasn't Unity fixed it even though it's been around for a long time?
     
  13. qzhang2

    qzhang2

    Joined:
    Sep 2, 2021
    Posts:
    2
    The problem still happens for me in 2022.3.11f1, Entities Graphics:1.0.16
     
  14. huyvuvi123

    huyvuvi123

    Joined:
    Jul 10, 2022
    Posts:
    2
    Yeah, I have the same problem with the 2022.3.11f version - all the same, error when creating file cs. I hope the 2023.1.11f version has many fixes with the burst compiler that will help solve this problem.
     
  15. qzhang2

    qzhang2

    Joined:
    Sep 2, 2021
    Posts:
    2
    The problem still happens for me in 2023.1.16f1, Entities Graphics:1.0.16, Entities:1.0.16,
    The issue occurs relatively randomly, and sometimes triggering script compilation can also cause this issue.