NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.47k stars 12.97k forks source link

Unity3d misses vulkan-loader lib #315708

Open Hunkarada opened 1 month ago

Hunkarada commented 1 month ago

Describe the bug

When I wanted to use unity3d (untiyhub package) with vulkan rendering api, it throw error about unsupported device, and unity used opengl 4.5 for rendering. After adding unityhub.override { extraPkgs = pkgs: [pkgs.vulkan-loader]; } to my system package list, everything works as intended.

Steps To Reproduce

Steps to reproduce the behavior:

  1. install unityhub
  2. create new project with hdrp support
  3. see error about unsupported api
  4. change player settings to use vulkan instead of opengl
  5. nothing changes
  6. add vulkan-loader as extraPkgs
  7. everything works as intended

Expected behavior

Vulkan api should work in unityhub

PS: Currently, I don't know, needs unity3d any other vulkan-related packages for creating games or not. Needs testing.

Hunkarada commented 1 month ago

Also, asset store doesn't work without liberation_ttf and liberation_ttf_v1 packages, untiy can't find fonts

Hunkarada commented 1 month ago

@abbradar can you make PR with this fixes? (you made package originally)