How to let mainData know about resource you add to sharedresourcesX.assets file? mainData simply does not see this file. I added a resource to empty sharedresourcesX.assets file, which contains only PreloadData. In a game I'm editing there are resources.assets and four sharedresourcesX.assets. I don't have m_Container and only have resources.assets and couple of sharedresourcesX.assets files.ĮDIT: Make sure you enter only lower case letters in path/filename in UnnamedAsset of ResourceManager type, or it won't work. But it also seems that I was mistaken with bundles. I specified 1 in UnnamedAsset of ResourceManager type. In my example, resources.assets shows File_Id 0, mainData 1.
I also noticed that file id should be as UABE shows when mainData is opened, not when you open individual. The file id here isn't the same one as in the list UABE shows, you need to look for other named assets in the same. Copy the first entry (or any other entry) in m_Container, set your name and file/path ID and adjust the size. assets files, the ResourceManager asset in the mainData or globalgamemanagers file (depends on the Unity version of the game) has all the names.