RunwayStudios / After-hours-issueboard

Issue repository for Afterhours
0 stars 0 forks source link

Bug | Constant error after completing objective #27

Closed SwipSwup closed 2 years ago

SwipSwup commented 2 years ago

Steps to reproduce

  1. Complete Objective "Look for Generator in the basement"
  2. Save game
  3. Load save

Current behaviour Throws constant error. No unintendet behaviour noticed

Expected behaviour No errors should be thrown

Relevant logs and/or screenshots (optional) MissingReferenceException: The object of type 'AudioSource' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. SoundManager.Update () (at Assets/Scripts/Audio/SoundManager.cs:89)