Hi everyone. I am currently working on some C++ and Blueprint classes that inherit from them. A very strange bug occurred during this process and I hope you have some solution for it.
- I have created a C++ base class “Building” that has a UPROPERTY(VisibleAnywhere) UStaticMeshComponent. (The BlueprintReadWrite specifier is just for testing but without it the behavior is the same)
- I have created some Blueprints that have the “Building” as parent and set the corresponding Meshes.
This worked fine for a while. Now I have reopened the editor and wanted to change some meshes but I see no options and parameters in “Details” view anymore. Thus I cannot change anything anymore
When I rename my variable e.g. form “BuildingMesh” to “BuildingMeshX” than the options show up again but I have to setup everything again. Renaming back to “BuildingMesh” hides the options again.
Further when I create a new BP that parents “Building” everything looks fine and I can edit it but the old BPs are not configurable.
This is very strange and annoying since I don’t want to set up everything again and again when this bug occurs. How to handle this issue? Is there a work around?
I have attached some screenshots to show you what I mean.