Jump to content

Recommended Posts

I'm trying to use my own color cubes I custom made, but whenever I try to use colour cubes that don't exist in the games vanilla colourcube folder (in /data/images/colour_cubes), the game crashes with only this line for any kind of trace.

[00:15:22]: Assert failure 'dest != INVALID_RESOURCE_HANDLE' at ..\source\game\components\PostProcessorComponent.cpp(31): Trace follows...

Any idea how I can ship my mod with it's own colour cubes? I was thinking I could somehow copy the cube to the games colour_cube folder, but that seems like a terrible idea.

16 hours ago, IronHunter said:

hmm when I got a INVALID_RESOURCE_HANDLE for custom particle effect textures I had to use softresolvefilepath(path) for the texture to even get it to work.

I'm gonna try this out, I've never used softresolvefilepath() before.

2 hours ago, penguin0616 said:

Are you making sure to load the color cube assets?

Yes, they are very much loaded in my prefab, even tried loading it in modmain for the faint chance of that working.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...