You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Melody Mania, when Unity fails to load a video then libVLC is used as fallback.
This failed in Unity 6 because of a Unity bug: VideoPlayer.errorReceived callback is not fired such that Melody Mania cannot handle the issue.
This was working fine in Unity 2023.12.f1 (in this version, VideoPlayer.errorReceived was called as expected).
I opened a bug report, which has been confirmed by Unity (IN-94095). You can find a reproducible example on GitHub.
Let's hope they fix their broken platform.
Expected behaviour
If Unity fails to play a video, then Melody Mania should fall back to use a different approach.
For UltraStar Play, this is irrelevant because it does not use the fallback mechanism via libVLC.
If Unity cannot play the file then UltraStar Play cannot play the file.
Details
Game version: Melody Mania v1.4.4-beta4
Note that Unity 6 was only used in the beta version of Melody Mania, not yet in a stable release.
Due to this bug, the next beta of Melody Mania will downgrade to Unity 2023.12.f1
Implementation hints
Workaround: stay with Unity 2023.12.f1
Error message
WindowsVideoMedia error 0xc00d5212 while reading SomeArtist - SomeTitle.avi
The text was updated successfully, but these errors were encountered:
achimmihca
changed the title
Bug in Unity 6, VideoPlayer.errorReceived callback not triggered
Bug in Unity 6: Cannot fall back to other approach if Unity fails to play a video
Jan 30, 2025
Actual behaviour
In Melody Mania, when Unity fails to load a video then libVLC is used as fallback.
This failed in Unity 6 because of a Unity bug: VideoPlayer.errorReceived callback is not fired such that Melody Mania cannot handle the issue.
This was working fine in Unity 2023.12.f1 (in this version, VideoPlayer.errorReceived was called as expected).
I opened a bug report, which has been confirmed by Unity (IN-94095). You can find a reproducible example on GitHub.
Let's hope they fix their broken platform.
Expected behaviour
If Unity fails to play a video, then Melody Mania should fall back to use a different approach.
For UltraStar Play, this is irrelevant because it does not use the fallback mechanism via libVLC.
If Unity cannot play the file then UltraStar Play cannot play the file.
Details
Implementation hints
Error message
The text was updated successfully, but these errors were encountered: