I need to map an actor to a struct created at runtime. Since Map seems to only return copies, I added an array of structs, and use the map to find the index in the array where the struct is.
Here is the function that retrieves the struct:
The instance of the struct had the name “Orrin”, but you can see below that the struct retrieved from the array does not have that name:
What is going on here? It’s like I end up with an empty clone, not even a copy. How do I get a reference to the struct in that list?