FAQ
Q: The demo works locally but I can't connect to the server from a different computer
A: Most likely you will need to forward the 7777 (by default) port on your router.
Q: When I press login on the demo scene I get an error "NetworkClient Send with no connection"
A: Ensure you have started the network by pressing Host (Server + Client) at the top left, or if you're running a client and server separately, that you clicked the appropriate value for each Client & Server.
Q: Everything works in the demo scene but in my own scene it doesn't work correctly
A: This could be for a number of reasons.
Commonly, either ChatSystem
or ChatPanel
isn't in the scene.
Player_Chat
may not be bound to your player object.
Player creation may not set PlayerID
or Name
on Player_Chat
(see the demo LoginController#CreatePlayerFromRow
).
Validate the setup of the scene against the demo scene and see if something is missing.
Q: The demo works in the editor but when I build it does not work due to "sqlite not found"
A: The provided SQLite dlls are only for Windows 64 bit. If you are building for any other platform you need to provide those DLLs/SOs and reference them in your build.
Q: I'm using Mirror and I get Weaver errors about missing Network Identity?
A: This happens when you try to build and have a non-mirror demo scene in your build settings. Press CTRL + SHIFT + B to get the Project Build settings and ensure only scenes in the Demo/Scenes/Mirror are selected.
Q: Why are there different demo scenes for Mirror versus UNET?
A: Mirror has its own classes for things like NetworkIdentity that make prefab / scene setups incompatible.
Q: After integrating with my project I get an Index Out of Bounds error when I try to bring up the chat
A: Most likely during the Player GameObject creation flow you did not assign the Id and Name parameters before Player_Chat#Start
was called. Id and Name must be assigned in the same frame as the Player GameObject is created. To achieve this, a custom Player creation flow is required.
Q: I started with Mirror, but removed it, and now my project has hundreds of errors because of Llama Chat
A: In Project Settings > Other Settings you probably still have MIRROR defined in the Scripting Define Symbols section
Remove any references to MIRROR there and it will fix the issues and you can continue using base UNET.
Q: I'm upgrading Mirror or Llama Chat and there's a bunch of errors!
A: Sometimes the define symbols aren't updated, or files were changed. When upgrading Mirror I always recommend deleting the previous version of Mirror, then importing the new version.
In general I would upgrade Mirror first, then Llama Chat. If there are still errors, you may update the Scripting Define Symbols manually to ensure the defines are correct which may resolve the remaining compile issues.
Q: I updated Mirror and now Llama Chat stopped working
A: I check every month for breaking changes in Mirror for Llama Chat. If you have a problem with a newer version of Mirror then please send an email to support@llama.software with your Unity version, Mirror version, and Llama Chat version. I'll take a look as soon as possible to get you an updated version!
Q: I have another question or issue and I can't find the answer in the documentation!
A: Feel free to send any support requests to support@llama.software and I'll be happy to help you.