Search Issue Tracker
Won't Fix
Votes
0
Found in
3.5.0f5
Issue ID
451796
Regression
No
Remove gfxDevice dependency when building shaders
Remove gfxDevice dependency when building shaders
(Premium Support case 2050 filed by Ricardo)
To Reproduce:
1. Unzip project.
2. Build in command line without the "-nographics" parameter. Run the App.
3. Build in command line with the "-nographics" parameter. Run the App.
Expected:
1. Same results.
Actual:
1. Different results. When built using "-nographics" the gfxDevice is null. Therefore it will throw:
if( !m_Shader )
{
printf_console("Unsupported: %s\n", m_ShaderName.c_str());
}
After failing to parse the shader.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
- The build size is larger when Models have Animation Type set to Generic
Add comment