Skip to content

UnityRHI Native 1.0.1

Choose a tag to compare

@Kuan-Mi Kuan-Mi released this 31 Aug 02:55
· 17 commits to main since this release

Prebuilt Windows x64 native package for Unity 6.3.

This patch fixes an intermittent Unity Editor crash in the D3D12 descriptor-heap restoration path. Unity can reset and reuse a command list between heap capture and plugin dispatch; version 1.0.0 could restore a binding from an earlier recording lifetime and pass stale descriptor-heap pointers to D3D12.

Changes:

  • Invalidate cached descriptor-heap bindings after a successful command-list Reset or Unity-side ClearState.
  • Keep cached descriptor heaps alive with COM references while they are eligible for restoration.
  • Skip restoration when the current command-list recording has no valid Unity heap binding.

This update is recommended for all 1.0.0 users running Unity with Direct3D 12. The fix was validated with Unity 6000.3.21f1 and URP 17.3.0 under repeated command-list reuse.

Upgrade:

  1. Close the Unity Editor.
  2. Download top.kuanmi.unityrhi.native-1.0.1.zip.
  3. Remove or replace the existing Packages/top.kuanmi.unityrhi.native folder, then extract the archive directly into the Unity project's Packages folder.
  4. Verify that Packages/top.kuanmi.unityrhi.native/package.json reports version 1.0.1.

The NVIDIA-signed nvngx_dlssnr.dll is not included. Obtain it separately and copy it to Packages/top.kuanmi.unityrhi.native/Plugins/x86_64/nvngx_dlssnr.dll to enable DLSS Neural Rendering.

SHA-256: 3BA0674CA73C3D9DB452A152479779B06838C5E0B025B8A974AF457E56B09E8B