After upgrading to 4.25.3 Oculus Source build, upon attempting to switch from SM5 to Vulkan Preview in my viewport, I am getting a failed assertion.
Assertion Failed: Texture->ResourceRHI
[File: C:/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderGraphBuilder.cpp] Line: 834
Upon opening the solution and going to 834, all I am seeing is check(Texture->ResourceRHI); as seen below.
if (FRDGTextureRef Texture = Parameter.GetAsTexture())
{
check(Texture->PooledRenderTarget)
check(Texture->ResourceRHI);
BarrierBatcher.QueueTransitionTexture(Texture, FRDGResourceState::EAccess::Read);
}
I am not sure what to do to resolve this, but having the vulkan preview mode is very important for me and I cannot find any resources on how to solve this.
Same issue here, no luck finding a solution yet.
Adding a note to this, Vulkan preview does work just fine in Unreal 4.25 binary install.
Walhar
(Walhar)
September 11, 2020, 10:32pm
4
Solution: disable anti aliasing in the project settings and then enable the mobile preview.
Zarsky
(Zarsky)
November 10, 2020, 2:27pm
5
This happened to me too and couldn’t even open the project without it crashing.
Managed to fix the issue by switching Vulkan Preview off from the EditorPerProjectUserSettings.ini located in project folder\Saved\Config\Windows
Locate and change:
bPreviewFeatureLevelActive=False
This will not solve the underlying problem that caused the crash in the first place tho.
RafaCP
(RafaCP)
December 1, 2020, 3:08pm
6
Thanks, that fixed it for me!
RafaCP
(RafaCP)
December 1, 2020, 3:22pm
7
On the Source Oculus 4.25 version I had to set Mobile MSAA to No MSAA so Vulkan Preview would work and stop crashing the Editor.