Pass ForgeDocs Product page

How do I

Fix the referenced script (Unknown) is missing warning

Unity's URP project template ships its Default Volume Profile with nine effects whose scripts are missing; open Window > Pass Forge > Overview and press Clean Up on the profile it names.

You want

Every time you press Play, the Console says "The referenced script (Unknown) on this Behaviour is missing!". It started after you installed Pass Forge, and you want it gone.

The warning does not come from Pass Forge. A Volume Profile in use holds effects whose scripts are not in the project. Unity's own URP project template ships its Default Volume Profile with nine such leftovers, so a new project shows the warning with or without Pass Forge.

Steps

  1. Open Window > Pass Forge > Overview.
  2. In the list above the tabs, find the row that says a profile holds effects whose scripts are missing, often left over from Unity's project template.
  3. Press Clean Up on that row.
  4. Read the dialog, which names the file and how many effects it removes, and press Remove. This cannot be undone, so commit your project to version control first if you want a way back.
  5. Press Play again.

What you should see

The Console logs that Pass Forge removed the effects with a missing script from the profile, and the warning stops. The effects did nothing, so nothing changes on screen.

If it does not work

  • The Overview lists no such profile. Pass Forge checks the default profiles of your render pipeline and the profiles the open scenes use, in Assets. A profile inside a package is left alone. Open the scene that shows the warning and look again.
  • The Console says the file could not be cleaned up. The asset could not be made editable, for example under a locked version control checkout. Check it out and press Clean Up again.