Hi, I’m trying to clean my made map but UE doesn’t allow me to?
How do I clean other types of maps, arrays than int32? ChatGPT and google doesn’t tell me.
Hi, I’m trying to clean my made map but UE doesn’t allow me to?
How do I clean other types of maps, arrays than int32? ChatGPT and google doesn’t tell me.
It seems to be complaining about GridTiles being a const variable so you can’t edit it in anyway.
I thought that too, but here is my declaration:
Does uproperty mess things up?
No it shouldn’t, did the same test seems good. The error is referring to this which is where the GridTiles is located at, whatever owns that GridTiles is const in itself I think.
Ah, sorry about that, you are right, the function was const, which means it doesn’t allow for it’s value to be changed… I’m using Rider and it always tell’s me to put consts everywhere… I need to stop trusting it haha. Thanks!