Search Issue Tracker
Won't Fix
Votes
2
Found in
5.3.5p8
Issue ID
814820
Regression
No
Material.SetPass sometimes doesn't cache results on DX9
Steps to reproduce:
1) Download attached project 'Preloading.zip' and open in Unity.
Note: Make sure that Graphics API is set to Direct3D9.
2) Open scene 'Main'.
3) Open the Profiler and view the CPU section.
4) Press Play.
5) In Game tab, click on "Step 1 - Material.SetPass (Preload)" button.
Notice in the Proflier that shows huge spike in Material.SetPassUncached (this is expected).
6) Now click on Click "Step 2 - Instantiate".
Notice in the Proflier that shows huge spike in Material.SetPassUncached (this is NOT expected).
Note: It doesn't happens every time after those steps, If you wasn't able to reproduce it from the first time, try again.
I was able to reproduce with OpenGLCore once.
Wasn't able to reproduce with DX11
Reproduced with: 5.3.5p8, 5.3.6f1, 5.4.0f1.
Not reproduced with: 5.5.0a3
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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Resolution Note (2017.1.0f3):
We do not support DX9 now.