NVIDIAGameWorks / rtx-remix

Combined repo for the RTX-Remix runtime
https://www.nvidia.com/en-us/geforce/rtx-remix/
MIT License
1.39k stars 69 forks source link

[Runtime Bug]: All lights disappear for a frame if view model is no longer detected #662

Open mmdanggg2 opened 1 month ago

mmdanggg2 commented 1 month ago

Describe the bug

It seems that whenever the view model goes from exising to not, the lights for that frame do not get detected. This manifests as a single frame flash whenever this happens.

How do you reproduce the bug?

Have a game with a viewmodel and make that viewmodel no longer exist, see that on the first frame it is not detected, lights do not render.

What is the expected behavior?

The runtime should render lights always.

Version

remix-main+37886d23, remix-0.6.0-rc2+2aff2f64

Logs

NvRemixBridge.log d3d9.log UnrealTournament_d3d9.log

Crash dumps

No response

Media

https://github.com/user-attachments/assets/bf82b44d-dbea-419b-8c2c-9ca3daad0374

xoxor4d commented 1 month ago

Did you accidentally tag the muzzleflash texture as ui? It looks like it's falling back to raster-mode when you shoot

mmdanggg2 commented 1 month ago

It is rendering as ui so it can be behind the weapons. That's not what's causing the light disappearing issue here though. Tossing the weapon so I have no view model also causes the flash. Removing the weapon draw calls with a hot reaload from the debugger also causes the flash on the fist frame.

NV-LL commented 1 month ago

REMIX-3678 for tracking