JordanSantiagoYT / FNF-JS-Engine

JS Engine is basically Psych Engine but with (almost) no botplay lag and NEW features!
Apache License 2.0
48 stars 32 forks source link

Crashing whenever I try to play a song #650

Closed ISamwise4 closed 1 month ago

ISamwise4 commented 1 month ago

Describe your bug here. If you are modding, try testing your bug in a clean version of the engine instead. Also, if you're using an older version of JSE, please try the latest version/action build. Also, be sure to check the pinned 'JS Engine: Known Issues' issue, to check if your issue hasn't already been found!

I- I just can't play any song, what is happening

Command Prompt/Terminal/Crash logs (if existing)

Uncaught Error: Null Object Reference flixel/animation/FlxAnimationController.findByPrefix() [line 739] Paths.addAnimAndCheck() [line 156] Paths.initSplash() [line 138] NoteSplash.loadAnims() [line 116] NoteSplash.setupNoteSplash() [line 63] NoteSplash.new() [line 44] PlayState.create() [line 1190] flixel/FlxGame.switchState() [line 639] flixel/FlxGame.update() [line 726] flixel/FlxGame.step() [line 679] flixel/FlxGame.onEnterFrame() [line 558] openfl/events/EventDispatcher.dispatchEvent() [line 426] openfl/display/DisplayObject.dispatch() [line 1398] Please report this error to the GitHub page: https://github.com/JordanSantiagoYT/FNF-JS-Engine The engine has saved a crash log inside the crash folder, If you're making a GitHub issue you might want to send that!

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.

No response

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows

Did you edit anything in this build? If so, mention or summarize your changes.

No, I didn't delete anything

If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?

None

Did you check for any similar issues to what you're reporting? Check, then come back here. If there is a similar issue, then do not report the issue, otherwise it will be marked as a duplicate.

Yes

StinkTheStinker commented 1 month ago

did you play only one song or more?

ISamwise4 commented 1 month ago

did you play only one song or more?

StinkTheStinker commented 1 month ago

what

ISamwise4 commented 1 month ago

It crashes on every song

ISamwise4 commented 1 month ago

ill send a video

ISamwise4 commented 1 month ago

https://github.com/user-attachments/assets/b2c2d5d4-d374-40f6-bfcc-24dbc6326ca8

StinkTheStinker commented 1 month ago

alright open cmd and do "cd [path of where the '.exe' is]" and then type in "JSEngine.exe" this shows what event is going on in the engine go to a song and watch the terminal image

StinkTheStinker commented 1 month ago

also, click on "comment", not "close commit" (or whatever that button says)

StinkTheStinker commented 1 month ago

heres a video just so its easier to understand

https://github.com/user-attachments/assets/c8b640b0-e386-4195-b5aa-8c009c425f3d

if you dont know how to open cmd, go to the search and type cmd

StinkTheStinker commented 1 month ago

copy the section that looks like its talking about the crash

ISamwise4 commented 1 month ago

it opens JSEngine, and that's it, it literally doesn't give me other info

StinkTheStinker commented 1 month ago

is there litteraly nothing in the cmd post-opening the the game with cmd

ISamwise4 commented 1 month ago

https://github.com/user-attachments/assets/2aee82fa-7871-4225-a49b-70221da37751

ISamwise4 commented 1 month ago

🤷

StinkTheStinker commented 1 month ago

without the quotation marks

ISamwise4 commented 1 month ago

https://github.com/user-attachments/assets/8eefdcfb-b24f-45ea-a3be-de6f6325d074

StinkTheStinker commented 1 month ago

no see that path thing next to the search bar on the file explorer

StinkTheStinker commented 1 month ago

nvm just get rid of "\JSEngine.exe" and keep the rest then type in JSEngine.exe

ISamwise4 commented 1 month ago

im an idiot

https://github.com/user-attachments/assets/3cbf826f-82fb-4f5e-99c3-c737afc39763

StinkTheStinker commented 1 month ago

send me the directory you are typing in

ISamwise4 commented 1 month ago

I'm generally new to Windows, I got this pc less that a month ago and I don't know wtf I'm doing

StinkTheStinker commented 1 month ago

send the directory

ISamwise4 commented 1 month ago

"C:\Users[MY NAME]\Desktop\fnf-stuff\FNF-JS-Engine-windows" is the directory, it is where JSEngine is saved

StinkTheStinker commented 1 month ago

cd C:\Users[MY NAME]\Desktop\fnf-stuff\FNF-JS-Engine-windows

StinkTheStinker commented 1 month ago

that

StinkTheStinker commented 1 month ago

you forgot the cd at the start

JordanSantiagoYT commented 1 month ago

ok

first of all, you're cding to "C:\Users[MY NAME]\Desktop\fnf-stuff\FNF-JS-Engine-windows\JSEngine.exe"

while the file is existent, that doesnt mean its an existent directory. you should try "C:\Users[MY NAME]\Desktop\fnf-stuff\FNF-JS-Engine-windows" only

second, the issue you're reporting is yet another duplicate of https://github.com/JordanSantiagoYT/FNF-JS-Engine/issues/559, also be sure to see https://github.com/JordanSantiagoYT/FNF-JS-Engine/issues/359 and https://github.com/JordanSantiagoYT/FNF-JS-Engine/issues/576

ISamwise4 commented 1 month ago

https://github.com/user-attachments/assets/89a1c847-9c3a-4f80-9025-896a6288b1ec

StinkTheStinker commented 1 month ago

note splash directory is incorrect

JordanSantiagoYT commented 1 month ago

since you're trying on 1.32.0/newer, go to Options, enter the Visuals & UI menu to reset your note splash/skin settings to defaults, then try again.

If it still crashes, then you're missing a required config file for your game to work. Head to the Note Splash Editor by pressing 7 in the main menu, then entering the Note Splash Debug Editor and create one for your skin.

(prepared to just copy and paste this on issues that reference this again)

ISamwise4 commented 1 month ago

Ok, thanks