Open NukiRaccoon opened 3 months ago
The bug is currently happening to me.
Was looking over this with Relik and Lu Zanth in Avatar Station, and we found that Image components are not displaying for me. Messing with the Sprite Provider didn't fix it, and grabbing at where the image was supposed to display in said Sprite Provider DID show a white circle for a 9-slice, which is what they saw too, so I'm getting the image for the Sprite, but the Image component is not showing it. IDK where the bug is in the stack of things that have to happen to make an Image Component in the UIX display, especially since I'm pretty sure some of the things that ARE displaying, like the different colors of inspector backgrounds, are also Images, but perhaps this is a start?
They were messing with some part of it when the Avatar Station crashed.
Screenshot of inspector stuff showing some things working and some things not working...
After further testing, we have confirmed that turning off the Masks on the areas which are broken fixes it. This is an issue of Image Components not displaying through Masks.
Tried to fix it by clearing my Cache last night. Didn't work. Have a log of the start with a near-empty cache... MSI - 2024.7.25.1284 - 2024-08-04 23_27_12.log
This just happened when I had the -ResetDash
in the startup commands: I am leaving it in there for now. Restarting fixed it, but whatever it's clearing is clearly happening on startup, after ResetDash has run.
MSI - 2024.8.5.1341 - 2024-08-05 21_40_57.log
To clarify something- when you say clearing your cache- which folder(s) specifically are you referring to, @NukiRaccoon?
To clarify something- when you say clearing your cache- which folder(s) specifically are you referring to, @NukiRaccoon?
The folder in Data called "Cache". Do you want me to try clearing something beyond that? I've been considering a reinstall...
When clearing the cache or data folders, it is recommend to delete the folders entirely (either the "Resonite" folders or the "Yellow Dog Man Studios" folder they're contained in) rather than bits and pieces- particularly for the data folder- as only deleting parts of it can cause issues. @NukiRaccoon
It's less of an issue for the cache path since everything is self-contained in the Cache folder asside from Crash logs which may be useful to hold onto separately.
https://wiki.resonite.com/Resonite_Data_Folders contains documentation on where these folders are, and where they can be found.
It is not recommended to jump straight into resetting your database, but it may be worth trying if other things you have tried are not working. https://wiki.resonite.com/Clear_your_database
For this issue in specific, it may also be worth using the -ResetDash
command line argument and resetting your dash back to default to ensure that it isn't the source of the issue. Details on command line arguments and how to use them can also be found on our wiki. https://wiki.resonite.com/index.php?title=Command_Line_Arguments
For this issue in specific, it may also be worth using the
-ResetDash
command line argument and resetting your dash back to default to ensure that it isn't the source of the issue. Details on command line arguments and how to use them can also be found on our wiki. https://wiki.resonite.com/index.php?title=Command_Line_Arguments
I was actually coming back to give the update that I just removed -ResetDash
from my args, and the next startup didn't have the problem, so I need to correct the original: this is not affected at all by resetting the dash, it's something that's seemingly happening at random at startup, with no discernable reason as to why it's not working. Either I have to restart, or just try to move on without UIX Masks working for images, making 90% of the main menu invisible.
In any case, I'll try resetting my database at some point (I did it a couple months ago and it's a pain) but for now, we know that it's something going wrong that affects how UIX masks work with images, that it happens at startup due to some changing factor unrelated to input, and the logs are up there if someone wants to take a look at them. IDK what else I can do to help y'all track this down, but I'm open to trying until I reinstall Resonite or whatever I end up doing that fixes it, assuming it's something I can fix.
Note that the fact that it's seemingly random startup conditions makes it really hard to test, but I can restart until it triggers if y'all want to know more about what's happening when it happens.
Are you aware of other users that have had that issue, @NukiRaccoon? Having more definitive replication steps /additional known cases would be very beneficial for this issue.
Are you aware of other users that have had that issue, @NukiRaccoon? Having more definitive replication steps /additional known cases would be very beneficial for this issue.
Somehow I missed this.
No, so far I haven't heard of anyone else with this issue, nor have I identified what may have happened to get Resonite into the state.
I did recently notice a pattern finally in what happens: it seems to only happen the first time I start up Resonite after restarting the computer, meaning my current workaround is to immediately start it up, let it load with the bug, then quit, which seems to clear the error for subsequent startups. I'm wondering if maybe it's trying to prepare a shader or something it has to load for UIX masks to work on images, and it's not getting loaded fast enough, and that's causing some sort of bug. If y'all want me to, I could try clearing something like the shader cache from the GPU after a successful startup and see if that causes the bug to happen again.
If there's any testing y'all want me to do, I can do it, but so far the issue is as stated: Resonite isn't loading properly for me on the first startup.
Otherwise, having to do a false start before I started up is more of a minor inconvenience than anything, so I can hold off on doing a full reset if y'all want to get more information about what's happening here before I potentially fix it.
Does the issue occur on a fresh database / when you aren't logged in? Does the issue happen to other accounts on your same PC? Does it work as intended if you sign in with your usual account on a different PC? There are definitely a lot more variables that could still be isolated here.
If you're the only person that you know of that is having this issue, then it seems clear there must be something about your environment in particular that is either causing this issue, or facilitating it / making it more visible. @NukiRaccoon
New thing I noticed: when it does this, is also doesn't load the icon in the taskbar, making the button blank.
Sorry I didn't respond to this, I thought I did but I guess I didn't?
Does the issue occur on a fresh database / when you aren't logged in? Yes. This happens before login.
Does the issue happen to other accounts on your same PC?
Yes. This happens before login.
Does it work as intended if you sign in with your usual account on a different PC?
I don't know, I don't have another computer I can test this on.
If you're the only person that you know of that is having this issue, then it seems clear there must be something about your environment in particular that is either causing this issue, or facilitating it / making it more visible.
I'm thinking that, and if y'all don't have any more questions or ideas, I guess I'll go ahead and do that database reset now...
It would be useful to isolate if that is related at the very least- @NukiRaccoon.
If you want to preserve your existing database, you can use the -DataPath
and -CachePath
command line arguments to manually specify an alternate directories to use for a new database / cache while testing the issue further.
If the issue re-occurs after signing in, then at that point resetting your dash itself would likely be necessary with the -ResetDash
command line argument to try and isolate if that is somehow related. But if it occurs while not signed in, that suggests first and foremost it might be an issue with something you have locally cached / stored since I haven't heard of any other cases of this occurring.
If you want to preserve your existing database, you can use the
-DataPath
and-CachePath
command line arguments to manually specify an alternate directories to use for a new database / cache while testing the issue further.
Thanks for reminding me of this: I was just preparing to delete it.
If the issue re-occurs after signing in, then at that point resetting your dash itself would likely be necessary with the
-ResetDash
command line argument to try and isolate if that is somehow related.
The ResetDash thing seems unrelated: I already was trying that at the beginning, and it doesn't seem to affect whether it happens. It happens the first time I start Resonite after the computer has been asleep or shut down.
Edit: I have moved my DB to a different place, so I now have a clear localhome. We will see if I continue to have the issue.
Clearing the DB seems to have fixed it: I have not gotten it since.
I have restored the contents of my localhome (a building with some UIX TODO lists, world links, and other basic use stuff) and will see if the problem comes back. If it happens again, I'll know it was something in that localhome. If not, I'll know it was something in the old DB.
Either way- without a known cause for how / why things came to be in that state for you in the first place- it is unlikely we'd be able to do anything here / this issue could probably be closed @NukiRaccoon.
I want to check a couple things, namely if the fact that I had a KRecord maker in my LocalHome at the time, may have been the issue.
Describe the bug?
Sometimes, when I load into Resonite, the UIX for things like the Inventory doesn't load properly, and I'm unable to see items in my inventory and menus in the world. I notice it's things that use the UI Unlit, but perhaps not all of them? The Menu Items are completely invisible, but I can still interact with them. So like, with the inventory, it looks like there's nothing below the folders, but if I click around, things select and show their name, but no indication that there's even something there, meaning I have to click blindly until the name comes up if I want to spawn an item.
This bad load of the UIX is saved when I close Resonite, but goes away when I start with the -ResetDash command, but comes back later.This bad load is NOT saved, nor is it affected by-ResetDash
. It seems to be a random thing that happens at startup, unaffected by my own input, for which the only solution is to restart.To Reproduce
I thought it was something to do with my headset, but I could not reproduce by taking it off or leaving it on during the startup, so I don't know. Maybe the logs will help?
Expected behavior
The UI Unlit material on the buttons should be visible.
Screenshots
I need to get some next time it happens: this time I was in a hurry to get on and needed to restart before I remembered to.UPDATE: It happened again! (Note: the KRecord creator has buttons and images which aren't showing)
Resonite Version Number
Beta 2024.6.11.74
What Platforms does this occur on?
Windows
What headset if any do you use?
Desktop, Windows MR
Log Files
Here are my last 4 sessions: 3 failed attempts to trigger the bug, and it suddenly happening when I was trying to get into an event. MSI - 2024.7.25.1284 - 2024-08-02 02_51_46.log MSI - 2024.7.25.1284 - 2024-08-02 02_00_10.log MSI - 2024.7.25.1284 - 2024-08-02 01_43_21.log MSI - 2024.7.25.1284 - 2024-08-02 20_17_18.log (This is where it happened)
Additional Context
If it happens in VR mode again, I'll look in the inspector to see what's actually not displaying and maybe figure out why.
Could be that the UI Unlit material isn't loading right, but that's speculation.It has something to do with UIX Images not showing through UIX Masks.Reporters
Nuki
Testers Rellik66, Lu Zanth