ID:2912450
 
Resolved
Using \ref to view atom or appearance icons in a browser caused a file handle leak that eventually prevented icons from being shown that way at all.
BYOND Version:515.1630
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 121.0.0.0
Applies to:Dream Seeker
Status: Resolved (515.1631)

This issue has been resolved.
Descriptive Problem Summary:
After some amount of "" uses, browse window breaks and "unable to open cache file" error starts appearing in the game chat

Numbered Steps to Reproduce Problem:
Download test case https://drive.google.com/file/d/ 12GtuNDs6TqL7REBRjrWb7J04GDt4RSAI/view?usp=sharing
Press "Show Browser" verb until the error appears

Expected Results:
No errors, working cache

Actual Results:
Everything is broken :(

Does the problem occur:
Every time? Or how often?
Every time
In other games?
Yes
In other user accounts?
Yes
On other computers?
Probably

When does the problem NOT occur?
When you use RenderIcon and cache the result manually

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Probably bugged from the first 515 version, I just used the workaround

Workarounds:
Use RenderIcon and send the result to the player with browse_rsc
Google Drive is causing problems and won't let me download the file. Can you share it on Discord instead?
Lummox JR resolved issue with message:
Using \ref to view atom or appearance icons in a browser caused a file handle leak that eventually prevented icons from being shown that way at all.