Warning: String asset reference is in short form, could not be resolved
Since "updating" to 4.17 I ran into a number of bad problems. I fould workarounds for most except for this one.
When starting my project, particularly when loading one of my characters I get the following "warnings" in the log window
Theres only this one character on the screen so it most be something with it. I tried to resave all assets, BPs, meshes, textures and so on, but to no avail. I get this warning every renderframe and due to the 0.2 second delay my framerate is currently in at an unplayable value.
Somebody else reported this here link text without any luck.
I need to find out what is causing the error and how to fix it ASAP, or my program is basically dead.
Thank you for your consideration
PS: No, I can not reproduce it on a clean project, so we can skip that step.
asked Sep 21 '17 at 11:28 AM in Bug Reports
Ok! I found what caused that error on my side (see screenshot). Item Slot is a structure. Wires were not connected. As soon as I connected - that warning disappeared.
answered Sep 27 '17 at 06:52 PM
Yes, I got that idea myself today and spend all night slashing objects and code from my scene until I finally nailed down the location where this happens. Needless to say that the code has not changed between 4.16 and 4.17 and it worked with 4.16. I also can not see what is wrong here. I post screenshots that show the location. I am convinced this must be classified as a bug since I tried everything I could think of here and was not able to get rid of the error.
At the core is structure that is defined like this:
I have an array of these structures that I use to store the game assets that are loaded during the game but for this test I have cut all that out and reduced it to the bare minimum. I have a function that returns a structure of this type. For now I cut out all the fancy stuff and just return an empty structure
And then I call that function in the tick function here:
The purpose of the whole thing is to check if the clothing or equipment on the character has changed, then load the respective clothing items and put them on the character. Normally the function would search the array for the clothing item with the given ID and return the structure from the array with the data, in case nothing is found, an empty structure would be returned just like here.
I tried to add dummy references to the mesh and skeleton field by referencing existing assets, but the result is the same.
So and there you have it. There is no string reference anywhere and yet this code generates the error under 4.17 while it didn't under 4.16 and I have no idea why.
Epic, I hope you can figure out what's going wrong here
Follow this question
Once you sign in you will be able to subscribe for any updates here