Facepunch / sbox-issues

173 stars 11 forks source link

Hammer meshes with tags don't get forwarded #5885

Closed DevulTj closed 1 month ago

DevulTj commented 1 month ago

If you run a trace on any hammer map, returned tags will always be empty. Default tags on a mesh in hammer are 'solid' so most maps are easy to test on.

aylaylay commented 1 month ago

Tried in testbed, working fine

aylaylay commented 1 month ago

This looks like sometimes the string token for a tag isn't cached because the tag is added in native

aylaylay commented 1 month ago

There's no real way to fix this, we can fix it going forward but physics resource saves the string token hash code and it can't really be reversed.

Metapyziks commented 1 month ago

Maybe it's okay to only be able to reverse the ones in the project's collision config.

aylaylay commented 1 month ago

Found a way to fix this properly, collision data actually had the actual strings on disk so we now string token cache them