Search Issue Tracker

Duplicate

Votes

1

Found in

5.6.0f3

Issue ID

911236

Regression

No

Textures removed from shaders are still collected as dependencies

Graphics - General

-

Reproduction steps:
1. Open project attached (ShaderDefaultTextureIssue.zip).
2. Select material_1 from "Assets/Materials".
3. Press "Select Dependencies".

Expected result: Only one texture will be shown.
Actual result: Both textures will be shown.

Note: Material (and shader) used to have 2 textures, but after editing shader, second one were deleted from shader script. After that, material still select both textures as dependencies.

This is how to recreate this situation from scratch:
1. Create a shader with two textures.
2. Assign two different default textures to the shader.
3. Save the project.
4. Comment out the second texture in the shader.
5. Save the project.
6. Do reproduction steps.

Reproduced on: 5.4.0f3, 5.5.3p3, 5.6.1p1, 2017.1.0b5.

  1. This is a duplicate of issue #667026

    AssetDatabase.GetDependencies returns unused texture

Comments (11)

  1. eseo14376

    Feb 21, 2020 15:27

    Since this extension allows fragment shaders to write to texture and buffer ... in a collection of primitives (e.g., repeating an index in DrawElements), the ... or because data overwritten by the store is still in a cache elsewhere in the system. ... If a texture object bound to one or more image units is deleted by ...by https://buyfollowersaustralia.com.au/

  2. eseo14376

    Feb 21, 2020 15:26

    If you reapply, maybe Unity sees the shader is missing, so re-loads it.) ... Still, there's a chance where on the target platform app, the shader is still missing ... Forced dependency collection means that this texture will be copied ... I removed the hack, it seems the pink shader issue is completely gone for me.by http://epicfollowers.co.uk/

  3. eseo14376

    Feb 21, 2020 15:25

    I tried to use a script to change it during runtime but there's still no effect. ... In Unity, and in general, terrains use 'splat maps'; basically a collection of textures and masks ... own shader, and so you can just remove it from your own shader. ...by https://buyfollowerscanada.com/

  4. eseo14376

    Feb 21, 2020 15:25

    ... is undesirable, but with some effort it is possible to minimize the dependencies. ... The material describes the texture(s) used by the primitive, what device state ... in force, and which vertex and pixel shader to use when rendering the primitive. ... For very small game worlds, a simple frustum cull (i.e., removing objects that ...by https://followersuk.uk/

  5. eseo14376

    Feb 21, 2020 15:24

    Is anybody working with 3d textures and the JME Texture3D class? I would appreciate ... I develop and collect shaders for JME. :slight_smile: ... For which there is still no plugin in the official library :/ ... I removed my module-suite and made new one. And it compiled! I think there were some dependencies problems. Now I've ...by http://buyactivefollowersuk.co.uk//

  6. jdavey300

    Jan 30, 2020 09:49

    Dear SEO Expert , I am going to introduce a very important link with you , which will be very helpful for you if you are trying to rank your website. The company in link www.seotoolsaccess.com give you more than 20 SEO TOOLS ACCESS at very affordable price.

  7. buyfollowersaustralia

    Jan 15, 2020 11:30

    I tried to use a script to change it during runtime but there's still no effect. ... In Unity, and in general, terrains use 'splat maps'; basically a collection of textures and masks ... own shader, and so you can just remove it from your own shader. ... "Hidden/TerrainEngine/Details/WavingDoublePass" Dependency ...by http://followersuk.co.uk/

  8. seoseoexperts521

    Jan 15, 2020 06:42

    General / Basic Assets · Round Leaf textures · Leaf Particles. You can also look at ... If there are no such files, it probably still uses the old system. ... Update to Better Foliage 2.3.1, so you can set the shader block IDs in the configuration. ... CTM support is removed completely (which wasn't working anyway). by http://buyfollowersitaly.com/

  9. seoseoexperts521

    Jan 15, 2020 06:40

    Since this extension allows fragment shaders to write to texture and buffer ... in a collection of primitives (e.g., repeating an index in DrawElements), the ... or because data overwritten by the store is still in a cache elsewhere in the system. ... If a texture object bound to one or more image units is deleted by ... by <a href="https://buyfollowersaustralia.com.au/">buy instagram followers cheap</a>

  10. RoseRayment

    Dec 09, 2019 10:44

    When we bought something like we can buy a cloth the first thing we can do is to check the texture of it than buy it. Conversely https://www.proessaywriting.com/custom-essay/ trained you to understand the textures of different things.

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.