# Editor.EditorUtility.RenderSpawnIconAsync

```csharp
static System.Threading.Tasks.Task<System.ValueTuple<string,byte[]>> RenderSpawnIconAsync(string modelPath)
```

Render a fresh model spawnicon and return its bake-cache key and encoded PNG.

### Parameters

- `modelPath` (`string`)

### Returns

`System.Threading.Tasks.Task<System.ValueTuple<string,byte[]>>`

Declared in [Editor.EditorUtility](/api/Editor.EditorUtility).
Assembly: `Sandbox.Tools`.
