Arcthesia / ArcCreate

Community based rhythm game editor and player made with Unity.
GNU General Public License v3.0
306 stars 52 forks source link

Divide by zero error when importing a song #24

Open Ruslan4ic opened 1 year ago

Ruslan4ic commented 1 year ago

The song file was converted from MP3 to OGG, since arcreate doesn't allow for MP3 to be imported. When i tried to import the song file, it gave back a divide by zero exception error, and reading the log i figured out it was about waveforms in the timeline section of the editor (i guess). Note that i converted the song file

0thElement commented 1 year ago

From my experience this only happens after you load the song, but everything still works normally. Is that also the case for you or is the editor completely broken? If it's broken then I'd appreciate it if you can send the audio file to me somehow

Ruslan4ic commented 1 year ago

the latter, but i have deleted the audio file, sorry

SnowRainySkr commented 1 month ago

I also meet the same error. I don't know whether ArcCreate must use OGG but not MP3, so I've tried both the two format. Both of them let ArcCreate throw DivideByZeroException. By the way, the OGG is converted from MP3. The chart file is attached. However, this OGG File can work well in Arcade Plus (another chart editor), which illustrate that the OGG file itself has no problem. D-Birth.zip

0thElement commented 1 month ago

Make sure your ogg file has the OGG Vorbis encoding, not Opus. Unity only has native support for OGG Vorbis