texture2d at runtime

Homayoon Rakhshani Moghaddam 2 years ago updated 2 years ago 7


wanna create a new texture2d at runtime.any suggestion?

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):

Add Texture2D to your custom types (Tools > Bolt > Unit Options Wizard), then you'll see the Create units in your fuzzy finder!

Thanks but i've done that before and there's no create units for the texture2d, just "Create External Texture" unit.

On which version of Bolt are you?

There used to be a bug with missing constructors, but it should be fixed in v.1.3+:

Are you sure Texture is included in your Unit Options, and you generated them after adding it?

If so, I don't know what's happening, I'd need a private ticket with a minimal project in which the issue occurs.

Re installing the bolt solved the problem.

Thanks for your amazing product