sbox-issues icon indicating copy to clipboard operation
sbox-issues copied to clipboard

New decals show up as missing textures on uploaded maps

Open KingOfTheFBI opened this issue 3 months ago • 1 comments

Branch

release

Describe the bug

Image Image Image

[engine/ResourceSystem] Error loading resource file "models/3t/clev/dark_rp_graffiti/thumb/thumb_decal.decal_c" (Error: ERROR_FILEOPEN: File not found) at Sandbox.EngineLoop.Print(Int32 severity, String logger, String message) at Managed.SandboxEngine.Exports.Sandbox_EngineLoop_Print(Int32 severitty, IntPtr logger, IntPtr message) at Sandbox.EngineLoop.RunFrame(CMaterialSystem2AppSystemDict appDict, Boolean& wantsQuit) at Sandbox.AppSystem.RunFrame() at Sandbox.AppSystem.Run() at Sandbox.Launcher.Main() in C:\build_work\sbox\sbox\engine\Launcher\Sbox\Launcher.cs:line 8 at Sandbox.Program.Launch() in C:\build_work\sbox\sbox\engine\Launcher\Shared\Startup.cs:line 21 at Sandbox.Program.Main() in C:\build_work\sbox\sbox\engine\Launcher\Shared\Startup.cs:line 16

I tested with both uploaded decals and local decals. The result is the same.

To Reproduce

  1. Put a decal gameobject in a hammer map
  2. Upload the map

Expected behavior

Decal is not a missing texture

Media/Files

No response

Additional context

Also does not show up on staging

KingOfTheFBI avatar Sep 15 '25 21:09 KingOfTheFBI

$50 to whoever PRs this and gets it merged. Not kidding

KingOfTheFBI avatar Nov 26 '25 05:11 KingOfTheFBI

You need to publish the decals to sbox.game. Make sure your map is referencing the cloud version from the asset browser. Then add the package ident to your map before you publish it. You can do this by clicking the little cog icon next to publish in the inspector and then typing in org/decalname in the package references.

Image
Image

P.S I still want my $50.

andy013 avatar Nov 26 '25 15:11 andy013

The above does indeed work, however, it should still be automatic when you upload like everything else is for a map.

It also forgets when references you added next time you open s&box

KingOfTheFBI avatar Dec 03 '25 06:12 KingOfTheFBI