Troubleshooting
Common issues and solutions for Oxide Multichar.
Common Issues
| Issue | Solution |
|---|---|
| "ox_lib not found" | Ensure ox_lib starts before oxide-multichar in server.cfg |
| "qb-core not found" | Ensure qb-core starts before oxide-multichar in server.cfg |
| Black screen on connect | Check for errors in F8 console |
| No characters showing | Verify database connection and player data |
| UI not appearing | Ensure web/dist/ exists and contains built files |
| Cursor not visible | This is handled automatically - report if it persists |
| Scene not loading | Check scene configuration in config.lua |
| Character appearance missing | Verify oxide-clothing is installed and working |
Startup Issues
Resource Not Starting
Symptoms: Resource fails to start, errors in server console.
Solutions:
- Check resource order in server.cfg:
ensure oxmysql
ensure ox_lib
ensure qb-core
ensure oxide-clothing
ensure oxide-multichar # Must be after dependencies
-
Verify all dependencies are installed:
- oxmysql
- ox_lib
- qb-core
- oxide-clothing
-
Check for syntax errors in config.lua:
- Missing commas
- Unclosed brackets
- Invalid Lua syntax
Database Connection Issues
Symptoms: Characters not loading, errors about database queries.
Solutions:
- Verify oxmysql is configured correctly
- Check database connection string in server.cfg
- Ensure
playerstable exists and is accessible - Check for database query errors in server console
UI Issues
UI Not Appearing
Symptoms: Black screen, no character selection interface.
Solutions:
- Check if web/dist folder exists:
oxide-multichar/
└── web/
└── dist/
├── index.html
└── assets/
- Rebuild the UI if needed:
cd resources/[folder]/oxide-multichar/web
npm install
npm run build
-
Clear FiveM cache:
- Navigate to
%localappdata%/FiveM/FiveM.app/data/cache - Delete the cache folder contents
- Restart FiveM
- Navigate to
-
Check F8 console for NUI errors
Cursor Not Appearing
Symptoms: UI is visible but cursor is missing.
Solutions:
- This should be handled automatically by the resource
- Check if another resource is interfering with cursor state
- Try restarting the resource:
ensure oxide-multichar
Character Issues
Characters Not Displaying
Symptoms: Character cards are empty or not showing.
Solutions:
- Check database for character data
- Verify player license matches database records
- Check server console for query errors
- Ensure oxide-clothing exports are working
Character Appearance Not Loading
Symptoms: Preview peds show default appearance instead of saved outfits.
Solutions:
- Verify oxide-clothing is installed and started
- Check that player_outfits table exists in database
- Test oxide-clothing independently
- Check for errors in F8 console related to appearance
Cannot Create New Character
Symptoms: Create button not working, errors during creation.
Solutions:
- Check if character slot limit is reached
- Verify form validation is passing
- Check server console for creation errors
- Ensure all required fields are filled
Scene Issues
Scene Not Loading
Symptoms: Black background, no scene environment.
Solutions:
- Check scene configuration in config.lua:
Config.Scenes = {
default = 'apartment', -- Must match a scene in list
list = {
apartment = { ... }
}
}
- Verify scene coordinates are valid
- Check if interior is loaded (some scenes require interiors)
- Test with a different scene to isolate the issue
Camera Issues
Symptoms: Camera stuck, wrong angle, not transitioning.
Solutions:
- Verify camera coordinates in scene config
- Check rotation values (pitch, roll, yaw)
- Ensure FOV is a reasonable value (30-90)
- Check for conflicting camera scripts
Weather/Time Not Working
Symptoms: Scene uses server weather instead of configured override.
Solutions:
-
Verify weather string is valid:
EXTRASUNNY,CLEAR,FOGGY, etc.
-
Check time format:
time = { hour = 20, minute = 0 } -- 24-hour format
Performance Issues
Slow Loading
Symptoms: Long load times, stuttering during scene transitions.
Solutions:
- Reduce number of ped positions per scene
- Use simpler vehicle models
- Check for memory leaks in other resources
- Verify database query performance
Memory Usage
Symptoms: High memory usage, crashes.
Solutions:
- Ensure peds and vehicles are properly deleted on scene change
- Check for entity leaks
- Monitor resource memory usage
Spawn Issues
Spawning at Wrong Location
Symptoms: Character spawns at unexpected coordinates.
Solutions:
- Check DefaultSpawn configuration:
Config.DefaultSpawn = vector4(-1035.71, -2731.87, 12.86, 0.0)
- Verify qb-spawn/qb-apartments are configured correctly
- Check SkipSelection setting
Spawn Selection Not Opening
Symptoms: Direct spawn instead of qb-spawn selection.
Solutions:
- Ensure qb-spawn is installed and started
- Check Config.SkipSelection is false
- Verify qb-spawn is compatible with your QBCore version
Logout Issues
Logout Command Not Working
Symptoms: /logout command does nothing.
Solutions:
- Check logout is enabled:
Config.Logout = {
enabled = true,
command = 'logout',
...
}
- Verify command name matches what you're typing
- Check for command conflicts with other resources
Logout Transition Issues
Symptoms: Screen freeze during logout, no fade effect.
Solutions:
- Check fade duration values are reasonable:
fadeOutDuration = 500, -- milliseconds
holdDuration = 1500,
fadeInDuration = 500,
- Verify NUI is responding
- Check for errors during logout process
Getting Help
If you're still experiencing issues:
-
Check the F8 console for client-side errors
-
Check server console for server-side errors
-
Enable debug mode if available
-
Collect the following information:
- Server console errors
- Client console errors (F8)
- Steps to reproduce the issue
- Your config.lua (remove sensitive data)
- FiveM server version
- QBCore version
-
Open a support ticket with the above information