Symptoms
My project is too large to submit via the Bug Reporter. I want to find out if there is a way I can simplify the upload and speed up the process of reporting my bug.
Cause
You are experiencing a bug in Unity and want to report this via the Bug Reporter. The Bug Reporter requests you attach a project to it, but your project is too large for efficient upload.
To produce a minimal sized project for upload, you can create a minimal reproducible case (repro) rather than upload your entire project. This will not only make for a faster upload and better reproducibility of your issue, but as a bonus it can help you troubleshoot the problem yourself before submitting.
Resolution
Method 1: Scene Export Approach
To create a minimal reproducible using scene export:
- Ensure that you have made a backup of your project
- Open your project in Unity and open the affected scene
- Remove extraneous items from the scene, including:
- Unused GameObjects and components
- Unnecessary scripts not related to the bug
- Large assets like textures, models, or audio files that don't affect the issue
- Third-party plugins unrelated to the problem
- Right-click on the scene file in the Project view and select "Export Package"
- In the export dialog, uncheck any assets not essential to reproducing the bug
- Create a new Unity project entirely and name it appropriately (e.g., "BugRepro_[IssueDescription]")
- Import your scene package into the new project
- Fix any missing script references by creating minimal placeholder scripts that reproduce the issue
- Test that the bug still occurs by clicking Play or performing a Build
- Verify the project size is now manageable for upload
- Go to Help > Report a Bug to submit the minimal project
Method 2: Version Control Approach
If you're using version control:
- Create a new branch from a commit where the bug was first introduced
- Systematically remove folders and files while testing that the bug persists
- Commit your minimal repro to the new branch
- Export this minimal version for bug reporting
Method 3: New Project Recreation
For complex issues:
- Create a completely new Unity project
- Recreate only the essential elements needed to reproduce the bug
- Copy only the minimal scripts, prefabs, and assets required
- This often results in the smallest possible repro case
More Information
For detailed information on submitting bug reports, visit the Official Unity documentation on How to file a bug report. Make sure to include clear steps to reproduce the issue and describe the expected vs. actual behavior in your bug report.
More details can be found here on how to file a bug report.