User requests that TSF_BGRA8 in SteamVRAssetManager.cpp be changed to TSF_RGBA8 to match OpenVR API

#if WITH_EDITORONLY_DATA // @TODO: UTexture::Source is only available in editor builds, we need to find some other way to construct textures - try using CreateTransient() (see: TexturePaintHelpers::CreateTempUncompressedTexture)
NewTexture = NewObject<UTexture2D>(ObjOuter, ObjName, ObjFlags);
NewTexture->Source.Init(RawResource->unWidth, RawResource->unHeight, /NewNumSlices =/1, /NewNumMips =/1, TSF_BGRA8, RawResource->rubTextureMapData);

Steps to Reproduce

1. Load VR project (If using oculus, disable oculus plugin to force SteamVR)
2. On motion controllers set DisplayDeviceModel = true
3. Observe that colors of SteamVR skins ((and WMR LEDs)) are incorrect.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-59540 in the post.

Login to Vote

ComponentUE - Platform - XR
Affects Versions4.19
Target Fix4.23
Fix Commit6096287
Main Commit6911980
CreatedMay 23, 2018
ResolvedApr 25, 2019
UpdatedSep 16, 2019