Search Unity

Resolved Audio Files Corrupted???

Discussion in 'Audio & Video' started by rothpletz5, Jan 12, 2022.

  1. rothpletz5

    rothpletz5

    Joined:
    Dec 2, 2020
    Posts:
    27
    Help!
    I opened my game in Unity today, and for some reason none of the sounds were playing. My computer volume was maxed, and the Global Audio in project settings was set to 1. Investigating further, I played a random audio file using Groove (the default windows audio player). For every audio file I tried here, I got the error message,
    "This file is encoded in a format that is not supported. 0xc00d5212"
    These files are all .mp3 or .wav files, and audio had been working just fine minutes earlier.

    I also tried importing audio files into Audacity. They could not play here either, resulting in the error log:
    Code (CSharp):
    1. "timestamp": 1641947588,
    2.     "event_id": "05372349a8e7b649b68f0804e3d36005",
    3.     "platform": "native",
    4.     "release": "audacity@3.1.3",
    5.     "contexts": {
    6.         "os": {
    7.             "type": "os",
    8.             "name": "Windows",
    9.             "version": "10.0.19043"
    10.         }
    11.     },
    12.     "exception": {
    13.         "values": [
    14.             {
    15.                 "type": "Error",
    16.                 "value": "Error opening sound device.\nTry changing the audio host, playback device and the project sample rate.",
    17.                 "mechanism": {
    18.                     "type": "runtime_error",
    19.                     "handled": false
    20.                 }
    21.             }
    22.         ]
    23.     }
    24. }
    What is going on here, and how do I fix it?? I have about 50 sound effects in this game which I have worked really hard to get, so I really don't want to have to start from scratch again! Any help would be greatly appreciated!!!
    Thanks so much,
    Jarpletz
     
  2. rothpletz5

    rothpletz5

    Joined:
    Dec 2, 2020
    Posts:
    27
    Update: Restarted device and it seemed to fix itself. Still not sure what happened.