Search Issue Tracker
Fixed
Fixed in 5.0.7
Votes
0
Found in [Package]
5.0.6
Issue ID
PBLD-57
Regression
Yes
MissingComponentException is thrown when selecting a Prefab after building a project
Steps to reproduce:
1. Open the “bug-probuilder-stripping” project
2. Go to Build Settings and Build the project
3. Wait for the build to complete
4. Select “Cube” Prefab in Assets/Prefabs
5. If the Console logs no errors, and there is Clean Build, Clean Build the project, otherwise repeat 2-4 steps once
Expected result: The Console logs no errors
Actual result: “MissingComponentException: There is no 'Renderer' attached to the "Cube" game object, but a script is trying to access it.” error is thrown
Reproducible with: 5.0.1 (2021.3.20f1), 5.0.6 (2021.1.0a7, 2021.3.20f1)
Not reproducible with: 4.4.0 (2021.3.20f1), 4.5.2 (2021.3.20f1), 5.0.0-pre.7 (2021.3.20f1), 5.0.6 (2020.3.45f1, 2022.1.0a15, 2022.2.10f1, 2023.1.0b7, 2023.2.0a5)
Could not test with: 2021.1.0a1-2021.1.0a6 (missing scripts), 2022.1.0a1-2022.1.0a14 (package errors), 5.0.0-pre.10 (compiler errors)
Reproduced on: macOS Monterey 12.2 (Intel)
Notes:
- The issue is reproducible with Editor and package versions combined
- 2022.2.10f1, 2023.1.0b7, 2023.2.0a5 Editor versions get “Can't remove MeshRenderer because ProBuilderMesh (Script) depends on it” error
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- 2D Area Components are missing icons in Search window
- Sprite Resolver component shows built-in Sprite Asset icon instead of actual Sprite in Inspector window when selecting Sprites in Sprite Swap Overlay
- GameObject's name is not correctly highlighted when searching in the Search window
- Main thread is blocked when XRCoreUtilities.PackageVersionUtility() detects an Error containing "PackageCache"
- UI Shader Graph throws 'UnityDisplayOrientationPreTransform' error when Android is the selected platform
Add comment