rive-unity icon indicating copy to clipboard operation
rive-unity copied to clipboard

UI Renders White Screen With Domain Reloading Turned Off

Open Jakky27 opened this issue 1 year ago • 1 comments

How to reproduce:

  1. Open the rive-unity-examples project
  2. Turn off domain reloading (Project Settings -> Enter Play Mode Settings: Enable "Enter Play Mode Options" and leave "Reload Domain" unchecked)
  3. Enter and exit play mode
  4. Enter play mode again

Expected results: The Rive Unity UI is visible Actual results: The screen is white

NullReferenceException: Object reference not set to an instance of an object
Rive.Components.SimpleRenderTargetStrategy.HandlePanelDrawing (Rive.Components.IRivePanel panel) (at ./Library/PackageCache/app.rive.rive-unity@063bb896e7/Runtime/Components/Public/RenderTargetStategies/SimpleRenderTargetStrategy.cs:213)
Rive.Components.SimpleRenderTargetStrategy.LateUpdate () (at ./Library/PackageCache/app.rive.rive-unity@063bb896e7/Runtime/Components/Public/RenderTargetStategies/SimpleRenderTargetStrategy.cs:239)

Rive 0.3.2-canary.0 Reproducible with: Unity 6000.0.44f1, 2022.3.60f1 Reproducible on: Windows 11 24H2

Jakky27 avatar Apr 01 '25 03:04 Jakky27

Thanks for reporting this. I believe it's related to this issue.

Right now, if you're using the components (RivePanel and RiveWidget) you'll need to have domain+scene reloading enabled.

We're looking into potential workarounds for a future update.

damzobridge avatar Apr 01 '25 18:04 damzobridge

This issue should be addressed from this canary version upwards: v0.3.8-canary.2

And will be included in the next official release (v0.3.8).

damzobridge avatar Jul 23 '25 22:07 damzobridge