Skip to main content
Version: 2026.6

Build and publish interpreted scripts

There is no separate step for scripts: they are compiled, checked and published by the same buttons that build and deploy your scenes in the Addressables management window (see Build and deploy).

What each button does with your scripts​

ButtonWhat happens to your scripts
Build AddressablesCompiled for the four platforms and checked. A refusal stops the build. Next to the scene archives in ServerData, the build writes EnvironmentsDll_<project>_<fingerprint>.zip, and every scene archive records which scripts it needs.
Build & Deploy (to worlds)As Build Addressables, then, for each selected world: the scripts are uploaded first and checked again by the platform, then the scenes are deployed and linked to them.
Deploy (to worlds)Uploads the scripts of the last build, then the scenes of the same build. The platform checks the scripts again.
Build & Deploy to TenantThe scripts are compiled and checked by the build, but not published: environments at tenant level run without scripts (see Known issues).
Deploy to TenantNothing: it uploads the scenes of the last build, and environments at tenant level run without scripts.

If the platform refuses the scripts while deploying to a world, the scenes that need them are not published to that world: the window and the Console say "<scene>" was not published, because its interpreted assembly was not accepted, after the reason for the refusal.

When a deploy ends with problems, a dialog says so — World deploy finished with problems — with how many scene imports went through. The problems are listed in the Addressables management window and in the Console.

When nothing changed​

If your scripts, their assembly definition and the security rules are the same as at the last publish, the build does not compile and check them again. The Console says 'EnvironmentsDll_…' is unchanged since the last publish… Skipping compile and verification; the bundle is still built and declared by the scenes. Deploying uploads the archive anyway: the platform recognizes it and keeps the copy it already has.

A project with no scripts in Assets/VirtuademyEnvironmentScripts skips this part of the build entirely.

In the world​

Every world you deployed to now runs the new scripts. Worlds you did not deploy to keep the version they had: two versions of the same project can be published in different worlds at the same time.

When a user opens the world, the app downloads the scripts for its platform and verifies them before the scene loads. If they cannot be loaded, the world does not open and the user sees a loading error.

Manual upload​

Scripts also reach a world through the manual upload: upload EnvironmentsDll_<project>_<fingerprint>.zip from ServerData together with the scene archives, to the same folder, and import the scenes from the Back Office. The import registers the scripts first.

Troubleshooting​

What you seeWhat to do
No DLL was produced for: … Build blocked.The build support module of the platforms named is not installed. Add it from Unity Hub — usually iOS Build Support (Setup).
Not logged in… Log in via 'Virtuademy / Available Tenants'.Log in to your tenant, then build again.
Build blocked / Build & Deploy blocked dialogA script uses something the security rules refuse: fix the entries listed in the Console.
…declares assembly name '…' instead of 'VirtuademyEnvironmentScripts'The assembly definition was renamed. Click Fix in the setup window (Setup) and build again.
World "…": the platform rejected the interpreted assembly '…': …The platform refused the scripts; the reason follows, with the rules broken on each platform. The scenes that need them were not published to that world. Fix the cause and deploy again.
The interpreter checks in the setup window are not greenFollow the message written under them, and click Fix next to Interpreter installation (optional) (Setup).

Known issues​

  • Environments at tenant level run without scripts. The platform links scripts to the environments of a world, and a tenant environment belongs to no world. Deploy to worlds the scenes that use interpreted scripts.
  • Interpreter not installed. If the project has scripts but the interpreter is not installed, the build goes on with only a warning in the Console (HotUpdate verifier not found (HybridCLR not installed?)), and the scenes are published without scripts: a world where they had scripts loses them. Install the interpreter before you build (Setup).