Requirements and compatibility
To help you understand whether you can use the Repro Project Wizard in your Unity project, this page contains information on system requirements and feature compatibility.
Unity Editor requirements
The Repro Project Wizard package supports Unity versions from 2020.3.
The Repro Project Wizard requires the System.IO.Compression.Filesystem
assembly, which is not available by default in Unity 2020.3. To enable the Repro Project Wizard to work for Unity 2020.3, it generates a csc.rsp
file in the root of the Assets folder. This file adds a reference to the System.IO.Compression.Filesystem
assembly and makes it available to the Repro Project Wizard. Don't move or delete the csc.rsp
.
In Unity 2020.3 only, the Repro Project Wizard adds a custom scripting symbol ZIPFILE_REFERENCE_INCLUDED
. You can see this under Project Settings > Player > Other Settings > Script Compilation > Scripting Define Symbols. The Repro Project Wizard requires this custom scripting symbol so don't remove it.
If you encounter error CS0103: The name 'ZipFile' does not exist in the current context
or a message that the zip failed, attempt the following to resolve the error:
- Navigate to the custom scripting symbol and remove
ZIPFILE_REFERENCE_INCLUDED
from the list. Click Apply and after a few seconds Unity will reload. The scripting symbol andcsc.rsp
file will be restored. - If the error persists, confirm that there is a
csc.rsp
file in the Assets folder and that it contains the line-r:System.IO.Compression.FileSystem.dll
. If it exists and does contain that line, reload Unity to resolve the error.
Feature compatibility
The Repro Project Wizard currently doesn't support Asset Bundles or Addressables.
The Repro Project Wizard doesn't provide a specific feature to add all assets of a particular type (e.g. add all shaders or materials) or to add all Streaming Assets. However, the wildcard feature provides a way to add these manually:
- To add all shaders in a project, use the
**.shader
pattern. - To add every file in the StreamingAssets folder, use the
**/StreamingAssets/**
pattern.
Every item that you add to a repro project must be within your Unity project's Assets folder.