ONLOAD: System.DllNotFoundException: lua5.1 Error

Problem:

Immediately after launching a campaign in Fantasy Grounds VTT, the Console opens with error output similar to what is below:

[4/20/2021 3:00:00 PM] Launcher scene starting. [4/20/2021 3:00:00 PM] Starting cloud server mode. [HostUsernameHere] [4/20/2021 3:00:00 PM] Game server started. [123.123.123.123:12345] [4/20/2021 3:00:00 PM] Launcher scene exiting. [4/20/2021 3:00:00 PM] Match successfully created on lobby. [4/20/2021 3:00:00 PM] Tabletop scene starting. [4/20/2021 3:00:00 PM] NETWORK STATUS: [Server] [Connected] [Server Type - CLOUD - PUBLIC] [4/20/2021 3:00:00 PM] [ERROR] LOADTHREAD: System.DllNotFoundException: lua5.1 at (wrapper managed-to-native) KeraLua51.NativeMethods.luaL_newstate() at KeraLua51.Lua..ctor (System.Boolean openLibs) [0x00011] in <544cd357f0dc4007b15c779553bfbf53>:0 at GIJFMPJFKLM.OGDJMHEEKAG () [0x00000] in <da3f867dc84343f39ac8a4a36720e56a>:0 at KDGPBIMMBGC.BKMDFOGJDHI () [0x00000] in <da3f867dc84343f39ac8a4a36720e56a>:0 at KDGPBIMMBGC.ACHJNIOEGCJ () [0x00000] in <da3f867dc84343f39ac8a4a36720e56a>:0 at FG.FGDesktop.MPLDMNJHFFJ () [0x00016] in <da3f867dc84343f39ac8a4a36720e56a>:0 [4/20/2021 3:00:00 PM] MEASURE: LOAD - PART 1 - 0.0490013 [4/20/2021 3:00:00 PM] Destroying match [4/20/2021 3:00:00 PM] Tabletop scene exiting. [4/20/2021 3:00:00 PM] Launcher scene starting. [4/20/2021 3:00:00 PM] [ERROR] Game server connection was lost. Please return to launcher, and start game again.

Solution

  1. Close Fantasy Grounds VTT and make sure it is not running

  2. Download and install Microsoft Visual C++ 2015 Redistributable Update 3 RC run-time components.
    Link: https://www.microsoft.com/en-us/download/details.aspx?id=52685
    Note: Make sure you download and install the 64-bit version - filename: vc_redist.x64.exe

  3. Start Fantasy Grounds VTT and attempt to load a campaign or join a hosted game.

In some cases, you may need to reinstall Fantast Grounds VTT after installing the Visual C++ Redistributable update. You can download the latest version below:
Link: https://www.fantasygrounds.com

Â