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

Restart song #14660

Open
PineappleGoob opened this issue May 13, 2024 · 9 comments
Open

Restart song #14660

PineappleGoob opened this issue May 13, 2024 · 9 comments
Labels
help wanted Extra attention is needed

Comments

@PineappleGoob
Copy link

Describe your problem here.

Describe your bug here.
when I restart a song in psych engine it gives me this error. I am using haxeflixel in psych engine.

Command Prompt/Terminal logs (if existing)
flixel/FlxState.hx (line 176)

flixel/util/typeLimit/NextState.hx (line 69)

flixel/FlxGame.hx (line 631)

flixel/FlxGame.hx (line 727)

flixel/FlxGame.hx (line 680)

flixel/FlxGame.hx (line 559)

openfl/events/EventDispatcher.hx (line 426)

openfl/display/DisplayObject.hx (line 1398)

Uncaught Error: Attempting to resetState while the current state is destroyed

Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows x64

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

Freeplay, stages, characters, songs

@PineappleGoob PineappleGoob added the help wanted Extra attention is needed label May 13, 2024
@M4st3rG4m4
Copy link

Does that happen to you with a specific song or with all of them?

@Sadcubelol
Copy link

Sadcubelol commented May 19, 2024

I had and have the same problem, I could solved it but now I don't remember how I did it lmao. Btw in my case it happens in all songs.

@M4st3rG4m4
Copy link

I had and have the same problem, I could solved it but now I don't remember how I did it lmao. Btw in my case it happens in all songs.

wtf

@M4st3rG4m4
Copy link

Ok, try extracting a clean copy of Psych Engine into another separate folder and try that version

@M4st3rG4m4
Copy link

By the way, if you have mods you should know that many mods lower than Psych Engine v0.7.3 usually cause errors/bugs/glitches or simply do not work in engine versions higher than v0.7.x

@M4st3rG4m4
Copy link

By the way, if you have mods you should know that many mods lower than Psych Engine v0.7.3 usually cause errors/bugs/glitches or simply do not work in engine versions higher than v0.7.x

Seriously, they can even make the songs themselves not work LOL

@PineappleGoob
Copy link
Author

alrighty sorry for the late response. I am the programmer for the mod and it is being developed in with haxe and a little bit of lua with psych engine 7.2h. Will this mean I have to move all of my code to the new version of psych engine?

@M4st3rG4m4
Copy link

really not, i only think that maybe a lua script may be causing that 'cause resetState is being called but the playstate is destroyed wtf

@M4st3rG4m4
Copy link

alrighty sorry for the late response. I am the programmer for the mod and it is being developed in with haxe and a little bit of lua with psych engine 7.2h. Will this mean I have to move all of my code to the new version of psych engine?

I really don't think it's necessary to move to v0.7.3, in fact this is just small additions and some bugfixes (but it brings with it some very annoying little problems in my experience :V)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants