Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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:
    4,843
    Does it freeze or fully crash?
    Can you still exit play mode? (maybe its an error and you use pause on error?)