Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.2.X, 2019.3.X

Votes

14

Found in

2018.3.0b7

Issue ID

1094991

Regression

Yes

Editor is lagging when modifying material properties

Graphics - General

-

How to reproduce:
1. Open attached "ForgottenPlayhouse" project
2. Select "cardboardwall1" material under Assets/Materials/Cardboard/CardboardWall1
3. In Inspector change color of the material

Expected result: Color(or any other property) is changed instantly and Editor does not lag
Actual result: Editor is lagging after every property change

Reproduced with: 2018.3.0b7, 2019.1.0a10
Does not reproduce with: 2018.3.0b6 (performance is only barely slower), 2018.2.17f1 and lower (performance is as expected)

Notes: Changing the Shader from HDRP to any other still reproduces the issue.

Comments (7)

  1. beritahariini

    Mar 10, 2023 08:01

    asfasfasf

  2. shubhamswaraj2021

    Aug 18, 2020 09:33

    good one <a href="https://www.lyricsauto.com">lyricsauto</a>

  3. cozyurt_unity

    Jul 17, 2020 14:03

    kedi maması köpek maması www.patilimama.com

  4. julian-moschuering

    Sep 03, 2019 09:50

    Or just cache it. I hacked around this by skipping CreateCustomShaderEditor and replacing it with a cached one.

  5. Kleptine

    Jun 21, 2019 16:28

    The cause of this bug is that the ShaderGUIUtility.ExtractCustomEditorType() function is looping through all types in the loaded assemblies, even though it's only looking for a specific type name.

    Fix: Swap this loop with Assembly.GetType() which is O(1) for a given type name.

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.