Troubleshooting
Most problems are one of a handful of setup issues. Error codes are listed in the API Reference.
"server_outdated" after Connect#
The zone extension answers no Live requests. Regenerate (Code → Server Code → Generate Server Code), Deploy, and restart SmartFoxServer. For a remote server copy the new JAR into its extension folder first. The SFS3 log shows [NetCrafterLive] ready: … when Live is loaded.
Works on my LAN, not over the internet#
A TURN server is needed for some networks — run the TURN Server Wizard. Then check the Console at call start: ICE servers: stun:… turn:… means the extension hands out TURN logins; none means NetCrafterLive.properties is missing or has no secret (restart SFS3 after writing it).
"turn_auth_failed" or calls only fail with Force Relay#
live.turn.secretmust equal coturn'sstatic-auth-secretexactly.- Server clocks must be right (NTP).
- TURN port (UDP+TCP) and the relay port range must be open in every firewall, including your hosting provider's.
- The wizard's Verify step tests a real login:
TURN_AUTH=OK.
Connected, but no sound#
- Push-to-talk: the other player must hold the key/button.
- The Console lists microphones at call start; a virtual/silent default device (e.g. a VR headset's) sends silence — set
microphoneDevice. - Check the other side isn't muted (
IsMuted).
Connected, but black video#
- The camera may be in use by another program (or the other copy of your game on the same PC).
- Windows: closing and reopening a camera too fast fails ("Could not connect pins"); Live retries 4 times.
- Some Android devices: enable
stripVideoRtxWorkaroundon both sides. - The sender may have the camera off (
IsCameraOn).
"call_full"#
Calls hold at most 6 players (live.maxCallSize), broadcasts live.maxViewers (default 8). Use named calls (JoinCall("team-red")) to split bigger groups.
The call drops when I click the other window#
Live sets Application.runInBackground so an unfocused Editor/Player keeps sending. If your own code turns it off, the other side sees the call freeze.
Mac build fails: Camera Usage Description is empty#
Fill in Camera Usage Description and Microphone Usage Description in Player Settings → Mac (and iOS) → Other Settings. See Getting Started step 6.
Testing in batch mode#
Unity in -batchmode sends no video frames. Automated video tests need a windowed player.