ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.15k stars 2.22k forks source link

Mod weeks crash the game, but playing the songs from them works fine #10524

Closed valentinegb closed 1 year ago

valentinegb commented 2 years ago

Describe your bug here.

When I try to play a week from a mod, the game crashes. Going to freeplay and manually selecting the songs seems to work fine though.

(Sorry if an issue has already been made for this, there's a lot of issues- also sorry if this is specific to the one mod I'm using, I haven't tested any other mods yet. I'll update this if I find out it is mod specific.)

Command Prompt/Terminal logs (if existing)

valentinebriese@Valentines-Air FNF-PsychEngine % lime test mac -debug
source/Achievements.hx:132: characters 30-54 : Warning : `FlxCamera.defaultCameras` is deprecated, use `FlxG.cameras.setDefaultDrawTarget` instead

Compiling group: haxe
xcrun --sdk macosx clang++ -Iinclude -I/usr/local/lib/haxe/lib/discord_rpc/git/linc/ -I/usr/local/lib/haxe/lib/linc_luajit/git//linc/ -c -fvisibility=hidden -stdlib=libc++ -Qunused-arguments -g -I/usr/local/lib/haxe/lib/hxcpp/4,2,1/include -DHX_MACOS -m64 -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-format-extra-args -Wno-overflow -Wno-bool-conversion -DHXCPP_DEBUG -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=400(haxe) ... tags=[haxe,static]
 - src/lime/utils/AssetCache.cpp  [haxe,release]
Link: ApplicationMain-debug
source/Discord.hx:68: Discord Client initialized
source/Discord.hx:18: Discord Client starting...
source/Discord.hx:25: Discord Client started.
source/LoadingState.hx:162: Setting asset folder to SUMinipack
source/Conductor.hx:135: new BPM map BUDDY [{ stepTime => 64, stepCrochet => 62.5, bpm => 240, songTime => 8000 },{ stepTime => 80, stepCrochet => 200, bpm => 75, songTime => 9000 },{ stepTime => 96, stepCrochet => 100, bpm => 150, songTime => 12200 },{ stepTime => 576, stepCrochet => 50, bpm => 300, songTime => 60200 },{ stepTime => 592, stepCrochet => 100, bpm => 150, songTime => 61000 }]
source/FunkinLua.hx:2756: initializing haxe interp for: mods/SUMinipack/stages/rosesroom.lua
source/FunkinLua.hx:108: lua file loaded succesfully:mods/SUMinipack/stages/rosesroom.lua
source/FunkinLua.hx:108: lua file loaded succesfully:mods/SUMinipack/custom_notetypes/Monster Notes.lua
source/FunkinLua.hx:108: lua file loaded succesfully:mods/SUMinipack/custom_events/Black FG Toggle.lua
source/FunkinLua.hx:108: lua file loaded succesfully:mods/SUMinipack/custom_events/Black BG Toggle.lua
source/FunkinLua.hx:108: lua file loaded succesfully:mods/SUMinipack/data/my-monster/note camera.lua
source/FunkinLua.hx:108: lua file loaded succesfully:mods/SUMinipack/data/my-monster/cutscene.lua
source/FunkinLua.hx:108: lua file loaded succesfully:mods/SUMinipack/data/my-monster/miss.lua
source/FunkinLua.hx:108: lua file loaded succesfully:mods/SUMinipack/data/my-monster/monster.lua

Are you modding a build from source or with Lua?

Lua

What is your build target?

Mac

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

No, not directly, I have one mod, Steven Universe Mini Mod Pack

machonessiebaby commented 2 years ago

ah yes the error i encountered just delete the week file and recreate it in the week editor though i broke mine in story mode and freeplay giving null object and unexpected character errors so just

remake the week file if that does not work sorry