remove_static_texture_from_render_target
Deletes the baked static UTexture2D sibling asset created from a render target, verifying its type first so it never removes the render target itself and returns a safe result.
Instructions
Delete the static UTexture2D that create_static_texture_from_render_target baked out of a render target (it lives beside the render target as a sibling asset), verifying the target really is a UTexture2D first -- so it refuses to delete the RENDER TARGET itself, which is remove_render_target_2d's job. Safer than the generic delete_asset, which deletes whatever sits at that path; wrong type or missing path returns deleted:false with an explanatory note rather than raising, so it is idempotent.
Returns: { asset_path, asset_class, package_name, deleted, already_existed, note? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_path | No | Full object/package path of the baked static texture; a bare name is not resolved here |