Cloud clothing packages not load

Started by Ethrax 1 post 57 views

Reply on sbox.game
  1. #1
    Ethrax 445
    Hey, I need help with cloud clothing assets.

    Setup: my teammate published ~400 .clothing assets to sbox.game under our org (tetley_*). I added them all as Package References in my project settings. They download fine and show up in the editor.

    Problem: at runtime, `ResourceLibrary.GetAll<Clothing>()` only returns the base Citizen clothing, none of the cloud ones. So my in-game clothing shop can't list them.

    I tried force-loading via `FileSystem.Mounted.FindFile("/", "*.clothing", true)` + `ResourceLibrary.Get<Clothing>(path)` but the count doesn't change.

    What's the correct way to make referenced cloud .clothing resources available to ResourceLibrary at runtime? Do Package References auto-mount in a built/running game, or do I need `Package.FetchAsync` + `MountAsync` manually for each one?