Search Issue Tracker
Fixed in 5.0.3
Votes
1
Found in [Package]
5.0.1
Issue ID
1324399
Regression
Yes
[ProBuilder] "Destroying assets is not permitted to avoid data loss." errors when building with ProBuilder prefabs in project
To reproduce:
1. Create a new project
2. Add ProBuilder package from Package Manager window
3. Create a ProBuilder object (a cube, ark, etc..) in the scene
4. Make the object a prefab
5. Build the project
Expected: no error, build succeeds
Actual: build succeeds but getting "Destroying assets is not permitted to avoid data loss." errors in the console
Versions reproduced on:
2021.1.0f1, 2021.1.1f1
Version not reproduced on:
2021.1.0b12
Notes:
- Having build tests, the error makes them fail
- Tested on macOS 11.1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- onRemoveCallback is not called when removing an element from the ReoderableList using contextMenu
- Cloud Diagnostics dashboard leads to a "Page not found" page when clicking the "Go to Dashboard" link in Project Settings Cloud Diagnostics tab
- Project Settings Package Manager dropdown button text becomes offcentered when any new package is installed
- iOS Xcode project building fails when the build is appended
- 2D Colliders, attached to a grandchild GameObject, aren't immediately destroyed when destroying the parent GameObjects in FixedUpdate
Resolution Note (fix version 5.0.3):
https://github.com/Unity-Technologies/com.unity.probuilder/pull/388