Recompile Material
Recompile a base Material and report any compile errors. Editing a material graph does NOT recompile it - nothing renders differently until this runs, which makes a correct edit look like it failed.
hf_recompile_materialWriteArguments
| Name | Type | Description |
|---|---|---|
materialreq | string | Asset path of a base Material. Instances do not compile; set their parameters instead. |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
Related tools
Also in Materials: