Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2019.1.X
Votes
2
Found in
2018.3.0b8
2018.3.0b10
Issue ID
1102618
Regression
Yes
Tilemap Grid object gets deselected and prevents further painting when painting with a custom Prefab Brush
How to reproduce:
1. Open the user-submitted project ("Builder Bash Prototype.zip")
2. In the Hierarchy window select the "Grid" object
3. In the Tilemap Window select the "Terrain Prefab Brush" and select the Brush Tool
4. In the Scene View attempt to paint tiles while holding the mouse 1 button
Expected result: The tiles are drawn continuously without any issues
Actual result: A null Reference error is thrown and the Grid is deselected, preventing the tiles from being painted on further
Reproduced in: 2019.1.0a11, 2018.3.0f2, 2018.3.0b8
Not reproducible in: 2018.3.0b7, 2018.3.0b1
Couldn't test with: 2018.3.0a11, 2018.2.19f1 (Older versions break the Hierarchy objects)
Error thrown:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PrefabPaletteBrush.Paint (UnityEngine.GridLayout grid, UnityEngine.GameObject brushTarget, Vector3Int position) <...>
Fixed in 2019.2.0a1
Backported to 2018.3.4f1, 2019.1.0a15
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Mijdax
Dec 23, 2018 17:20
I have this issue with 2018.3.0f2
I also cant find a way to fix this on my own.
FredFors
Dec 11, 2018 09:11
Also experiencing this in 2018.3.0f1