Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question Unity freeze when assigned canvas

Discussion in 'Getting Started' started by The_Olie, Oct 1, 2023.

  1. The_Olie

    The_Olie

    Joined:
    May 12, 2023
    Posts:
    3
    So i am following a tutorial online to make a 2D puzzle pipe game. Some things in his code where wrong so i adjusted it. But at the end of the serieus he makes it so it generated puzzles from itself. He made an object called manager to do it. This works if you run the game but when you code it so it opens a canvas that is inactive. And assign the canvas to the manager. Unity freezes when you hit the play button. I dont get any crash reports and centra. Does anyone know what the problem could be?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,251
    Does it freeze or fully crash?
    Can you still exit play mode? (maybe its an error and you use pause on error?)