Wonderlarr Posted February 25, 2021 Share Posted February 25, 2021 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. Link to comment https://forums.kleientertainment.com/forums/topic/127398-can-i-use-custom-colour-cubes/ Share on other sites More sharing options...
IronHunter Posted February 25, 2021 Share Posted February 25, 2021 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 wonder if this is the same case for Colour_Cubes?@zarklord_klei 1 Link to comment https://forums.kleientertainment.com/forums/topic/127398-can-i-use-custom-colour-cubes/#findComment-1432570 Share on other sites More sharing options...
penguin0616 Posted February 25, 2021 Share Posted February 25, 2021 Are you making sure to load the color cube assets? 1 Link to comment https://forums.kleientertainment.com/forums/topic/127398-can-i-use-custom-colour-cubes/#findComment-1432706 Share on other sites More sharing options...
Wonderlarr Posted February 25, 2021 Author Share Posted February 25, 2021 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. Link to comment https://forums.kleientertainment.com/forums/topic/127398-can-i-use-custom-colour-cubes/#findComment-1432787 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now