Search Issue Tracker
By Design
Votes
0
Found in
2021.3.21f1
2022.2.11f1
2023.1.0b8
2023.2.0a6
Issue ID
UUM-30579
Regression
No
Prefab instance error in the Console when deleting a Prefab that is a child GameObject of a Tilemap and used in a Tilemap Palette
How to reproduce:
1. Open the attached user project “Tilemap_Prefab_Deletion.zip“
2. Open Scene “SampleScene“
3. Create a Sprite GameObject as a child of the Tilemap
4. Create a Prefab by dragging it into the Assets tab
5. Open the Tile Palette (Window>2D>Tile Palette)
6. Select the GameObject Brush located at he bottom section of the window
7. Enable Tile Palette Edit by pressing the pencil symbol at the top right of the window
8. Press I to select the picker tool and press on the created Sprite GameObject in the Scene view
9. Paint with the Brush tool on the palette (the Brush tool is selected automatically after step 8)
10. Save the Palette by repeating step 7
11. Delete the created prefab in the Assets folder
Expected result: No errors in the Console
Actual result: “Problem detected while importing the Prefab file: ‘Assets/New Palette.prefab'.“ error in the Console
Reproducible with: 2021.3.21f1, 2022.2.11f1, 2023.1.0b8, 2023.2.0a6
Can’t test with: 2020.3.46f1 (The Tilemap palette editor doesn’t exist)
Reproduced on: macOS 13.0.1 (Intel), Windows 11 (by reporter)
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
The GameObject Brush uses the Prefab system when painting onto the Tile Palette. This allows users to update the original Prefab and get the changes on the painted instances in the Tile Palette.
When the original Prefab is deleted, the user should get the same error notifying that the original Prefab of a painted instance is no longer in the project. Users will have to restore the original Prefab or removed the painted instances from the Tile Palette to resolve this.