openfl / openfl

The Open Flash Library for creative expression on the web, desktop, mobile and consoles.

Home Page:http://www.openfl.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught TypeError: Cannot read properties of null (reading 'duration') - Sound.hx:761

LexiLikesFunkin opened this issue · comments

Describe the bug
I can't compile any of the code I have to HTML5, because as the splash screen plays, this error comes up in the console
image
To Reproduce
Steps to reproduce the behavior:
I'm not even sure, I just compiled Kade Engine 1.1.2 (Got the error in a lot of other FNF based projects, and a few non-FNF, used Kade as the example)

Expected behavior
The game would begin and play as normal

Screenshots
image
image
Game is frozen, Flixel cursor isn't where the actual mouse is

OpenFL Targets
Used VSC on Windows to compile for HTML5 - I think that's what this means...

Additional context
Changing what repo I try to compile doesn't solve the error, compiling to Windows works fine (.exe). Haven't tried Linux...
The code that gives this issue is apparently here, Sound.hx:761
image