This guide covers solutions to common issues encountered when compiling Friday Night Funkin’. Always check here before opening an issue on GitHub.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/FunkinCrew/Funkin/llms.txt
Use this file to discover all available pages before exploring further.
General Issues
Warnings and WDeprecated messages
Warnings and WDeprecated messages
WARNING or (WDeprecated)Solution: These will not disrupt compilation and can be safely ignored.hxcpp version prompt
hxcpp version prompt
This version of hxcpp … Would you like to do this now [y/n]Solution: Type y into the console and press Enter.Weird macro error with tall call stack
Weird macro error with tall call stack
Get Thread Context Failed
Get Thread Context Failed
Get Thread Context FailedSolution: Turn off other expensive applications while building.Type not found: T1
Type not found: T1
json2object: Type not found: T1Solution: Make sure the data type of @:default is correct.flixel.util.typeLimit.OneOfTwo isn’t supported by json2object.Class lists not properly generated
Class lists not properly generated
Class lists not properly generated. Try cleaning out your export folder, restarting your IDE, and rebuilding your project.Solution: This is a bug specific to HTML5. Follow the steps listed:- Delete the
exportfolder - Restart your IDE
- Rebuild the project
PDB file error (LNK1201)
PDB file error (LNK1201)
LINK : fatal error LNK1201: error writing to program database ''; check for insufficient disk space, invalid path, or insufficient privilegeSolution: The PDB file in your export folder is in use or exceeds 4 GB. Delete the export folder and build again.Git and Repository Issues
RPC failed during cloning
RPC failed during cloning
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)Solution: This error happens due to poor network connectivity. Run this in your terminal:Missing or empty assets folder
Missing or empty assets folder
assets folder, or assets folder is emptySolution: You did not clone the repository correctly! The assets are in a Git submodule.Navigate to your funkin folder:General library issues
General library issues
.haxelib folder and reinstall libraries:Lime-Specific Issues
Segmentation fault after time changes mapping
Segmentation fault after time changes mapping
Done mapping time changes: [SongTimeChange(0ms,102bpm)]Solution: Caused by using official Lime instead of Funkin’s fork. Reinstall Lime via hmm:hmm to guarantee you get Funkin’s version of Lime.Could not find lime.ndll
Could not find lime.ndll
Uncaught exception - Could not find lime.ndll. … Advanced users may run "lime rebuild cpp" instead.Solution varies by platform:Linux
The binaries’ GLibC version might be more recent than your system supports. Run:All Platforms
If binaries are missing, download pre-built binaries from Funkin’s Lime.Copy them to.haxelib/lime/git/ndll/<PLATFORM>64/, where <PLATFORM> is:WindowsLinuxMac
Platform-Specific Issues
Windows
Visual Studio Build Tools not found
Visual Studio Build Tools not found
- MSVC v143 VS 2022 C++ x64/x86 build tools
- Windows 10/11 SDK
Linux
Missing libVLC dependencies
Missing libVLC dependencies
Mac
Xcode Command Line Tools missing
Xcode Command Line Tools missing
Mobile (Android/iOS)
See the Mobile Compilation Guide for platform-specific troubleshooting.Runtime Issues
Game crashes on startup
Game crashes on startup
- Missing or corrupted assets
- Incorrect build flags
- Platform incompatibility
- Verify assets were downloaded correctly (check
git submodule) - Try a clean build: Delete
exportfolder and rebuild - Check you’re using the correct platform flags
Assets not loading
Assets not loading
-DREDIRECT_ASSETS_FOLDER:- This flag makes the game load assets from
assets/instead ofexport/ - Make sure assets exist in the source
assets/folder
- Assets should be in
export/[debug|release]/[platform]/bin/assets/ - Check that the build completed successfully
- Try a clean build
Performance issues
Performance issues
- Build in release mode (without
-debugflag) - Disable logging:
-DNO_FEATURE_LOG_TRACE - Enable optimizations (automatic in release mode)
- Close other applications
- Update graphics drivers
Still Having Issues?
Search existing issues
Check discussions
Open a new issue
- Your operating system and version
- The complete error message
- The command you ran
- What you’ve already tried
