Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing whenever I try to play a song #650

Closed
ISamwise4 opened this issue Oct 14, 2024 · 31 comments
Closed

Crashing whenever I try to play a song #650

ISamwise4 opened this issue Oct 14, 2024 · 31 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@ISamwise4
Copy link

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

@ISamwise4 ISamwise4 added the bug Something isn't working label Oct 14, 2024
@TheStinkern
Copy link
Collaborator

did you play only one song or more?

@ISamwise4
Copy link
Author

did you play only one song or more?

@ISamwise4 ISamwise4 reopened this Oct 14, 2024
@TheStinkern
Copy link
Collaborator

what

@ISamwise4
Copy link
Author

It crashes on every song

@ISamwise4 ISamwise4 reopened this Oct 14, 2024
@ISamwise4
Copy link
Author

ill send a video

@ISamwise4
Copy link
Author

2024-10-13.22-22-41.mp4

@ISamwise4 ISamwise4 reopened this Oct 14, 2024
@TheStinkern
Copy link
Collaborator

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

@TheStinkern
Copy link
Collaborator

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

@TheStinkern
Copy link
Collaborator

heres a video just so its easier to understand

2024-10-13.22-31-04.mp4

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

@TheStinkern
Copy link
Collaborator

copy the section that looks like its talking about the crash

@ISamwise4
Copy link
Author

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

@TheStinkern
Copy link
Collaborator

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

@ISamwise4
Copy link
Author

1013.1.mp4

@ISamwise4
Copy link
Author

🤷

@TheStinkern
Copy link
Collaborator

without the quotation marks

@ISamwise4
Copy link
Author

2024-10-13.22-51-56.mp4

@TheStinkern
Copy link
Collaborator

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

@TheStinkern
Copy link
Collaborator

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

@ISamwise4
Copy link
Author

im an idiot

2024-10-13.22-56-48.mp4

@TheStinkern
Copy link
Collaborator

send me the directory you are typing in

@ISamwise4
Copy link
Author

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

@TheStinkern
Copy link
Collaborator

send the directory

@ISamwise4
Copy link
Author

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

@TheStinkern
Copy link
Collaborator

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

@TheStinkern
Copy link
Collaborator

that

@TheStinkern
Copy link
Collaborator

you forgot the cd at the start

@JordanSantiagoYT
Copy link
Owner

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 #559, also be sure to see #359 and #576

@JordanSantiagoYT JordanSantiagoYT closed this as not planned Won't fix, can't repro, duplicate, stale Oct 14, 2024
@ISamwise4
Copy link
Author

2024-10-13.23-02-31.mp4

@JordanSantiagoYT JordanSantiagoYT added the duplicate This issue or pull request already exists label Oct 14, 2024
@TheStinkern
Copy link
Collaborator

note splash directory is incorrect

@JordanSantiagoYT
Copy link
Owner

JordanSantiagoYT commented Oct 14, 2024

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
Copy link
Author

Ok, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants