Search Issue Tracker

Fixed in 2019.3.X

Fixed in 2019.2.X

Votes

0

Found in

2019.2.0a11

2019.3.0b12

2020.1

Issue ID

1148582

Regression

Yes

Painting terrain crashes when texture resolution is below FullRes in QualitySettings

Terrain

-

Reproduction steps:
1. Open the attached project named "Case_1148582_Updated"
2. Open the Sample Scene
3. Select the Terrain and try to paint using the black texture

Expected result: The black texture is painted on the Terrain
Actual result: Either nothing happens, black artifacts appear or the Editor crashes ( Depends on the Unity version used, more information in the Notes below)

Reproducible with: 2018.3.0a6, 2018.4.14f1, 2019.3.0b12, 2020.1.0a15
Not reproducible with: 2017.4.26f1, 2018.3.0a5, 2019.2.15f1, 2019.3.0b11

Notes:
1. When 2018.3.0a6 - 2019.1.0f2 versions are used Textures don't change when painted, however, the Scene's Lighting is re-baked as if changes were made. Behavior is shown in Track_1148582_V2
2. When 2019.2.0a11 and above is used, black artifacts appear when painting. Crashes are also possible. Behavior is shown in Track_1148582_V3
3. The issue happens when "Half Res", "Quarter Res" or "Eighth Res" Quality settings are used

  1. Resolution Note (fix version 2019.3):

    Fixed in 2020.1.0a19
    A broader solution is necessary for copying to/from downmipped textures in general, but this changeset resolves the problem for terrain alphamaps.

Comments (8)

  1. MariusHendriks

    Nov 06, 2020 11:26

    I might have found a fix. I put my settings of the terrain on 'draw instanced' and i t doesn't seem to crash anymore. Hope this helps.

  2. MiTschMR

    Jun 09, 2020 17:24

    Bringing this up again, it is not fixed! Going from a terrain with Full Res painted textures to Half Res makes everything appearing black.

  3. NinjaStormNS

    Nov 25, 2019 02:43

    For those still stuck with the issue, a workaround would be to temporarily change Texture Quality to Full Resolution.

    Edit>Project Settings>Quality>Texture Quality: Full Res

  4. unikum

    Nov 07, 2019 15:04

    This is NOT fixed.

    Reproduce by do the following:
    - Go into your Project Settings > Quality and click on the "Very Low" level.
    - Create a new tiled terrain with Terrain Toolbox (might work with regular terrain)
    - Add or create layers and try to paint

    You might be able to paint on some terrains but sooner or later it will crash.

    Quick solution:
    - Go into quality settings and click on Ultra to make sure the editor isn't trying to run the low settings. It is easy to accidentally leave it on low settings after adjusting settings for a build. Marking a setting to edit it should not automatically make the editor run that setting.

  5. joshcamas

    Nov 04, 2019 16:25

    Happening for me as well, 2019.2.11.

  6. NaruAkitsuki

    Oct 01, 2019 14:36

    metoo

  7. vagelis199

    Sep 07, 2019 18:23

    still hapends to 2019.3 .0b2

  8. DemonGamesStudio

    Jul 08, 2019 04:50

    Not fixed. Unity is crashing when painting textures. : /

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.