Repro Project Wizard window reference
The Repro Project Wizard window (menu: Window > Repro Project Wizard) is the main interface for the Repro Project Wizard package. The options in this window provide the means to configure and generate a minimal Unity project that reproduces an issue in your main Unity project.
For information on how to use this interface to generate a repro project, see Create a repro project.
Property | Description | |
---|---|---|
Items to Copy | Specify items to add to the repro project. If you plan to generate more repro projects and have items that should be in all repro projects, add these items to Common Items instead. To add the current scene to this list, click Add Current Scene. This button is visible only if the items list doesn't contain the current scene. |
|
Project Name | Set the name of the repro project. Note: In Unity 2020.3 on Windows, it's not possible to read to or write from a path that is longer than MAX_PATH (260) characters. If the repro project creation process generates a path that exceeds this limit, Unity throws an error. To avoid this, keep your project file names as concise as possible. |
|
Project Path | Set the path to generate the repro project at. | |
Common Items | Specify items common to every repro project generated from the current Unity project. Any repro project you generate for the current Unity project includes these items alongside the items you specify in Items to Copy. | |
External Packages | Specify the external packages to add to the repro project. An external package is one that you didn't install from the [Unity registry](xref:upm-ui-install). Add an external package to this list if the issue you want to reproduce requires the package and you installed the package from a source that other users might not be able to access. The Repro Project Wizard copies external packages directly into the repro project. This means that they don't appear in the repro project's [package manifest](xref:upm-manifestPkg). | |
Open project after export | Indicate whether to open the repro project after the Repro Project Wizard generates it. | |
Create zip of repro project | Opening the repro project in Unity increases its size. When enabled, this option generates a zip of the repro project alongside the repro project itself, retaining a lightweight version ready to be shared. Use this if you plan to share the repro project outside the Unity Bug Reporter. | |
Texture size | Specify a texture size modifier to apply to textures added to the repro project. This is useful to reduce the size of the repro project if textures aren't related to the issue the project should reproduce. | |
Full | Textures in the repro project will be the same size as in the current Unity project. | |
Half | Textures in the repro project will be half of the size in the current Unity project. | |
Quarter | Textures in the repro project will be a quarter of the size in the current Unity project. | |
Eighth | Textures in the repro project will be an eighth of the size in the current Unity project. | |
Sixteenth | Textures in the repro project will be a sixteenth of the size in the current Unity project. | |
Create Project | Start the repro project generation process. The Repro Project Wizard creates a new Unity project and copies the assets you specified, and their dependencies, into the new project. It also creates a zip of the project in the same directory ready to share. After the Repro Project Wizard finishes, if you selected Open project after export, Unity opens the repro project. |
Add items interface
The Items to Copy and Common Items lists have the same interface. To add a new item to either list, populate the empty entry at the bottom of the list.
A: Item type selector B: Item or folder path C: Remove D: Item explorer
The Repro Project Wizard supports four types of items, and the interface for each item entry changes depending on the item type.
Item type | Description | |
Wildcard | A rule that can add multiple items from a folder within your [Assets folder](xref:ImportingAssets.html). Every file that matches the pattern in the textbox will be copied into the repro project. To create a pattern, combine a relative path with any of the special wildcard characters. | |
* | Matches any number of characters including none. Only searches the top-level directory. For example, the pattern Scenes/level* would select Scenes/level1.unity and Scenes/level2.unity but not Scenes/startlevel.unity , Scenes/example.unity , or Scenes/otherLevels/level3.unity |
|
? | Matches any single character. Only searches the top-level directory. For example, the pattern Prefabs/?at.prefab would select Prefabs/cat.prefab and Prefabs/bat.prefab but not Prefabs/chat.prefab , Prefabs/atm.prefab , or Prefabs/otherPrefabs/mat.prefab |
|
** | Matches any number of characters including none. Searches recursively from the top directory into all subdirectories. For example, the pattern Scenes/** would pick Scenes/level1.unity , Scenes/level2.unity and Scenes/otherLevels/level3.unity |
|
[abc] | Matches any single character given in the square brackets. For example, the pattern Images/[bc]at.png would select Images/bat.png and Images/cat.png but not Images/sat.png or Images/bcat.png
|
|
[!ac] | Matches any character not included in the square brackets. For example, the pattern Images/[!bc]at.png would select Images/mat.png but not Images/bat.png or Images/cat.png |
|
[a-c] | Matches any single character in the range given in the square brackets (case sensitive). For example, the pattern Scenes/scene[0-3].unity would select Scenes/scene0.unity through to Scenes/scene3.unity but would ignore any with a number outside this range. |
|
[!a-c] | Matches any single character not included in the range given in the square brackets (case sensitive). For example, the pattern Scenes/scene[!0-3].unity but would select Scenes/scene4.unity but would ignore Scenes/scene0.unity through to Scenes/scene3.unity |
|
\ | Escapes a character that indicates a globbing rule and parses it as a literal string in the path. For example, the pattern Prefabs/cube\[12\].prefab would select Prefabs/cube[12].prefab but not Prefabs/cube1.prefab |
|
Scene | A [scene asset](xref:CreatingScenes.html). To add a scene asset to this entry, you can either drag a scene from the [Project window](xref:ProjectView.html) to the property or select the picker and choose a scene from the Select SceneAsset window. The Repro Project Wizard copies the scene asset and all the scene's dependencies to the repro project. | |
Prefab | A [prefab asset](xref:Prefabs.html). To add a prefab asset to this entry, you can either drag a prefab from the Project window into the property or use the picker and choose a prefab from the Select GameObject window. | |
Asset | A [general asset](xref:AssetWorkflow.html). To add an asset to this entry you can either drag an asset from the Project window into the property, or use the picker and choose an asset from the Select Object window. |