Search Unity

did i just broke my game?

Discussion in 'Editor & General Support' started by brunoenvia, Oct 31, 2019.

  1. brunoenvia

    brunoenvia

    Joined:
    Aug 5, 2019
    Posts:
    94
    so i was updating my prefabs, referencing all the objects accordingly but then my game stopped
    working, and its only working in 1 out of 3 scenes i have now. i have no idea what just happened
    on my non-working scenes i have null reference errors although they have references to them
    like they had before and the game ran fine. Once i updated my prefabs the game simply stopped
    to work.
    Now i can't even make my prefabs work at all, i tried to create a new scene and nothing works correctly
    scripts not doing anything, materials not being assigned correctly. all thats working are the collisions.
    did i broke my game? do i have to do everything from scratch again?
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    You're going to need to be specific about these errors to get any help. Even if you can't get them resolved, the typical worst case scenario is to just use version control to revert the problem changes which lead to this issue. If you're not using version control, you'd just go to your last backup of your project folder. If you're not using either, well.....
     
  3. brunoenvia

    brunoenvia

    Joined:
    Aug 5, 2019
    Posts:
    94
    a lot of null reference errors when i have everything referenced