Unity-Technologies / Unity-Technologies/NativeRenderingPlugin

Plugin Load on Startup

Open
#24 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
943
Forks
186
PR merge metrics
No merged PRs in 30d

Description

I've recently encountered an issue with loading Native Rendering Plugins in order to intercept vkCreateInstance. If I enable "Load on Startup" I can intercept this in the Unity Editor, but built applications load the plugin after Vulkan Instance is created. I'm running Linux and haven't tested this on Windows.

Is this intended functionality? If not, how do I force builds to load a Native Rendering Plugin before Vulkan Instance is created?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Native Rendering Plugin behavior on Linux in the Unity Editor and in a built application, focusing on Load on Startup, vkCreateInstance, and Vulkan Instance creation. Determine whether the differing load order is intended and identify a supported way for builds to load the plugin before Vulkan Instance creation; done means the behavior or workaround is documented and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, unity
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.