Search Issue Tracker

Fixed

Votes

0

Found in

5.6.2p3

Issue ID

955689

Regression

No

Materials are not being loaded from asset bundle, when #pragma shader_feature is used

Asset Bundles

-

To reproduce:
1. Open attached project;
2. Open scene BugReport;
3. Choose GameObject Loader and press Play button.
4. Notice that right sphere doesn't have texture like the left one.

Expected result: Both spheres should have same texture.
Actual result: The sphere with custom shader loses its normalmap.

Reproduced in: 5.6.2p3; 2017.1.1p3; 2017.2.0f2

NOTE: In 5.5.4p5 and 2017.3.0b2 error "D3D shader blob is empty" is thrown.

Comments (4)

  1. 20dd0c6d1127a324db8bea2b1eca2467?d=mm

    ohbado

    May 28, 2018 14:05

    Same issue with 2017.4.3f1.

  2. B87280d2c61f461d1a978f83a56f26ef?d=mm

    jujugy

    Feb 14, 2018 11:20

    Same issue with 2017.3.1f1
    Please fix it!

  3. C1778685037ff7695ef95e800065235a?d=mm

    Virtualware

    Feb 07, 2018 08:16

    Same issue with 2017.3.1f1

  4. F2c4b1763ad0672c77da1d82e43dbca6?d=mm

    aboccala

    Jan 09, 2018 16:27

    Observing the same issue also in Unity 2017.3.0f3

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.