If HDR Light Studio doesn't open when you press Start in the connection panel, work through the checks below in order.
Warning: Cinema 4D MCP Server Default Settings Break HDR Light Studio - How to Fix - Skip to Check 3
Warning: Windows 11 Smart App Control Can Block HDR Light Studio - How to Fix - Skip to Check 5
The connection is only half of what needs to be installed. It creates the link between your host software and the HDR Light Studio main application, but it can't start HDR Light Studio on its own.
Make sure you have installed both, in this order:
1.The HDR Light Studio main application.
2.The connection (plug-in) for your host software.
The main app and the connection need to be a matching set. This can get out of sync if you download a newer HDR Light Studio app and forget to update the connection, for example. As HDR Light Studio gains new features, the API that connects them can change. This means an older connection may not work with a newer main app, or the other way round.
Make sure you are running a compatible pairing. Installing the latest versions of both from our download page will always ensure a matching pair.
You can download older builds of software from the download archive.
You can ensure you select tested matching pairings by checking here: https://help.lightmap.co.uk/hdrlightstudio/compatability-chart.html
Sorry, this one is more technical.
Your host software and HDR Light Studio talk to each other over local TCP/IP connections on your own computer. If another program is already using one of these ports, HDR Light Studio won't start.
You'll see an error message from HDR Light Studio: 'HDR Light Studio failed to start. This could be to do with invalid or conflicting settings for communications with connections.' It then tells you HDR Light Studio will now exit and links to this page.
By default, HDR Light Studio uses ports 5555, 5556, 5557 and 5558. These settings can be changed using the following environment variables:
HDRLS_LOCAL_PORT - default port used 5555
HDRLS_REMOTE_PORT - default port used 5556
HDRLS_HEARTBEAT_SVR_PORT - default port used 5557
HDRLS_HEARTBEAT_CLI_PORT - default port used 5558
Known conflicts
•New Cinema 4D (port 5556): the built-in MCP server uses port 5556 by default when it is turned on in Cinema 4D's preferences.
•Teradici PCoIP (now HP Anyware) (port 5555): this remote desktop software uses port 5555, which stops HDR Light Studio working with its default settings.
How to find what is using a port
Run the command for your operating system. It checks all four ports at once. If nothing is printed, none of the ports are in use and a port conflict isn't the cause.
Windows
1. Right-click Start and open Terminal (or Windows PowerShell).
2. Run Get-NetTCPConnection -LocalPort 5555,5556,5557,5558 -State Listen -ErrorAction SilentlyContinue | Select-Object LocalPort, OwningProcess, @{n='Program';e={(Get-Process -Id $_.OwningProcess).ProcessName}}
3. Each line shows a port that is in use, and the name of the program using it in the Program column.
macOS
1. Open Terminal.
2. Run lsof -nP -iTCP:5555-5558 -sTCP:LISTEN
3. The COMMAND column shows which program is using a port, and the NAME column shows which port. If nothing shows, try again with sudo at the start, as some programs are only visible to an administrator.
Linux
1. Open a terminal.
2. Run sudo ss -ltnp 'sport >= :5555 and sport <= :5558'
3. Each line shows a port that is in use. The program name and process ID are shown at the end of the line, after users:.
How to fix a port conflict
Choose one of these options:
• Free up the port
Change the port setting in the other software, or close it while you use HDR Light Studio. For example in Cinema 4D change the MCP port to 5559 (if it's free), then update the port in your AI app's MCP settings to match. That's a quick and easy fix. If you don't use MCP, you can simply turn off the MCP server in Cinema 4D's preferences.
• Set environment variables to tell HDR Light Studio to use different ports
1. Pick a block of four ports between 1024 and 32767, for example 15555, 15556, 15557 and 15558. Avoid ports above 32767, as your operating system may use them temporarily.
2. Check the new ports are free using the commands in How to find what is using a port, above, with your new port numbers. For example, on macOS run lsof -nP -iTCP:15555-15558 -sTCP:LISTEN. If nothing is printed, the ports are free.
3. On Windows, also run netsh interface ipv4 show excludedportrange protocol=tcp and make sure your new ports aren't inside any of the ranges listed. Windows reserves these ports for features like Hyper-V and WSL, even though they don't show as in use.
4. Set these environment variables to your four new ports. See how to set the environment variables below.
HDRLS_LOCAL_PORT
HDRLS_REMOTE_PORT
HDRLS_HEARTBEAT_SVR_PORT
HDRLS_HEARTBEAT_CLI_PORT
5. Restart your host software.
How to set an Environment Variable
Windows
1. Press Start, search for Edit the system environment variables, and open it.
2. Click Environment Variables...
3. Under System variables, click New... (or select an existing variable and click Edit...). If you don't have administrator rights, add it under User variables instead.
4. Enter the variable name and value, for example HDRLS_LOCAL_PORT and 15555, then click OK.
5. Click OK to close both windows.
6. Restart your host software. If it still doesn't see the variable, restart your computer.
macOS
Apps opened from the Dock or Finder don't see variables set in Terminal. Choose one of these options:
• Permanent (recommended): create a small launch agent that sets the variables every time you log in.
1. Open Terminal.
2. Copy and paste all of the following into Terminal and press Return. Change the port numbers first if you're using different ones. To set other HDR Light Studio variables, add more launchctl setenv commands to the same line, separated by semicolons. Put quotes around any value that contains spaces, for example launchctl setenv HDRLS_LOG_FILE "/Users/<your name>/HDR logs/hdrls.log".
mkdir -p ~/Library/LaunchAgents
cat > ~/Library/LaunchAgents/uk.co.lightmap.hdrls.env.plist <<'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key><string>uk.co.lightmap.hdrls.env</string>
<key>ProgramArguments</key>
<array>
<string>/bin/sh</string>
<string>-c</string>
<string>launchctl setenv HDRLS_LOCAL_PORT 15555; launchctl setenv HDRLS_REMOTE_PORT 15556; launchctl setenv HDRLS_HEARTBEAT_SVR_PORT 15557; launchctl setenv HDRLS_HEARTBEAT_CLI_PORT 15558</string>
</array>
<key>RunAtLoad</key><true/>
</dict>
</plist>
EOF
3. Log out and back in, or restart your Mac.
4. To check it worked, run launchctl getenv HDRLS_LOCAL_PORT. It should print your port number.
To remove the settings later, run rm ~/Library/LaunchAgents/uk.co.lightmap.hdrls.env.plist, then log out and back in.
• Until you restart your Mac: run launchctl setenv HDRLS_LOCAL_PORT 15555 in Terminal for each variable, then quit and reopen your host software.
• For testing: in Terminal, set each variable, for example export HDRLS_LOCAL_PORT=15555, then in the same Terminal window start your host software by running the executable inside its app, for example "/Applications/<Your 3D Software>.app/Contents/MacOS/<executable name>"
Linux
• For testing: in a terminal, set each variable, for example export HDRLS_LOCAL_PORT=15555, then start your host software from the same terminal.
• To keep the setting: add the same export lines to the end of ~/.profile (or your shell's startup file), then log out and back in.
Connections find HDR Light Studio using an environment variable called HDRLS_HOME_V5. It should point to the folder containing the HDR Light Studio executable.
• Windows and macOS: the installer sets this variable for you. On Windows, the default value is C:\Program Files\Lightmap\HDR Light Studio
• Linux: there is no installer, so you need to set this variable yourself.
If HDR Light Studio is installed in the default location, connections can often find it even without this variable. If you installed it somewhere else, the variable is essential.
How to check the environment variable is set
The command should print the folder where HDR Light Studio is installed. If it prints nothing, or prints the variable name back, the variable isn't set.
• Windows: open Command Prompt and run echo %HDRLS_HOME_V5%
• macOS: open Terminal and run launchctl getenv HDRLS_HOME_V5 to see the value apps opened from the Dock or Finder use, and echo $HDRLS_HOME_V5 to see the value apps started from Terminal use.
• Linux: open a terminal and run echo $HDRLS_HOME_V5
If it isn't set or looks wrong
1. Restart your computer. On Windows and macOS, a newly installed variable sometimes only takes effect after a restart.
2. If it still isn't set, or you're on Linux, set HDRLS_HOME_V5 to your HDR Light Studio install folder, following How to set an environment variable in Check 3.
3. Restart your host software so it picks up the change.
Smart App Control is a Windows 11 security feature that blocks software it can't verify. It may block the HDR Light Studio installer, the main app, or the connection inside your host software. You may see a message saying Smart App Control blocked an app that may be unsafe or Part of this app has been blocked, or the connection may simply not load.
Windows has no way to allow a single app through, so the fix is to turn Smart App Control off.
How to check if Smart App Control is on
1. Press Start, search for Windows Security, and open it.
2. Click App & browser control, then Smart App Control settings.
3. If On is selected, Smart App Control may be the cause. If it shows Off or Evaluation, it isn't the cause.
How to turn off Smart App Control
You need a Windows administrator account.
1. Close HDR Light Studio and your host software.
2. In Smart App Control settings (see above), select Off.
3. Run the HDR Light Studio main application installer and the connection installer again.
4. Restart your host software.
Microsoft Defender Antivirus and SmartScreen still protect your PC with Smart App Control off.
Good to know
• Keep it off for now: the connection loads every time your host software starts, so turning Smart App Control back on will block it again. We expect future versions of HDR Light Studio and its connections to work with it switched on.
• Turning it back on: on Windows 11 with the April 2026 update or later, select On on the same page. Older builds need a Windows reset. If On is greyed out, this is a known issue in the October 2026 update (KB5127648), and Optional diagnostic data must also be turned on.
• Work computers: Smart App Control is normally off on organisation-managed PCs, so a block there probably comes from your IT policy. Ask your IT team rather than changing settings yourself.
• No shortcuts: Properties > Unblock and Run as administrator don't get round Smart App Control.
If you've worked through all the checks and HDR Light Studio still won't start, create a log file and send it to us. Full details with screenshots are on our Generating log files page.
1. Set these two environment variables, following How to set an environment variable in Check 3:
• HDRLS_LOG_FILE: the full path and file name for the log. For example C:\Users\<your name>\Desktop\hdrls.log on Windows, or ~/hdrls.log on macOS and Linux. The folder must already exist, and you must have permission to save files there.
• HDRLS_LOG_LEVEL: set to 5. This gives our support team the most detail. The range is 0 (off) to 5 (maximum).
2. Restart your host software and press Start in the connection panel to reproduce the problem.
3. Find the log files in the folder you chose. There will usually be more than one, all starting with the name you gave, for example hdrls.log and hdrls.log.live.log.
4. Email all the log files to support@lightmap.co.uk, along with:
• Your HDR Light Studio main app version and build number.
• Your connection version, and your host software and its version.
• Your operating system and its version.
• Any error message, word for word or as a screenshot.
• Which of the checks above you have already tried.
5. When you've finished, set HDRLS_LOG_LEVEL to 0 to turn logging off. You can leave both variables in place to use again later.