You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to use the functions defined in AttributeComponent.cpp to visualize attributes of the New York 3D Object dataset but am having an issue. I am creating the New York layer in Blueprints and then adding the layer to the map's layer collection. I am then calling the Setup3DAttributes function from blueprints and passing a reference of the previous layer to the function.
Whenever either Setup3DAttributesFloatAndIntegerType or Setup3DAttributesOtherType are run, the engine crashes and produces the following error message.
In file, the error message points to the following line of code in Setup3DAttributesFloatAndIntegerType: layerAPIObject->SetAttributesToVisualize(layerAttributes.MoveToArray());
I have made many attempts to verify the validity of the layer APIObject and ensure it is not a nullptr, but no matter what I do, the engine always crashes at this line. Commenting this line out causes the engine to instead crash at the line: Layer->SetMaterialReference(LoadObject<UMaterial>(this, TEXT("Material'/Game/Assets/MAT_BasicPBR'")));
I am not sure how to proceed with this issue and have been working to resolve it for a few days now. Any insight would be appreciated, thanks!
The text was updated successfully, but these errors were encountered:
I am attempting to use the functions defined in AttributeComponent.cpp to visualize attributes of the New York 3D Object dataset but am having an issue. I am creating the New York layer in Blueprints and then adding the layer to the map's layer collection. I am then calling the Setup3DAttributes function from blueprints and passing a reference of the previous layer to the function.
Whenever either Setup3DAttributesFloatAndIntegerType or Setup3DAttributesOtherType are run, the engine crashes and produces the following error message.
In file, the error message points to the following line of code in Setup3DAttributesFloatAndIntegerType:
layerAPIObject->SetAttributesToVisualize(layerAttributes.MoveToArray());
I have made many attempts to verify the validity of the layer APIObject and ensure it is not a nullptr, but no matter what I do, the engine always crashes at this line. Commenting this line out causes the engine to instead crash at the line:
Layer->SetMaterialReference(LoadObject<UMaterial>(this, TEXT("Material'/Game/Assets/MAT_BasicPBR'")));
I am not sure how to proceed with this issue and have been working to resolve it for a few days now. Any insight would be appreciated, thanks!
The text was updated successfully, but these errors were encountered: