Hey everyone! I was trying to put a custom chop that I have into the engine COMP and it took me a while to figure out how to do it, so I made an example that I’m attaching to the post. You can open it and see all
the comments I’ve added there to understand what is the problem exactly, but TLDR is this:
- Custom ops don’t work inside the engine unless they are not in the global path, so putting your custom op to the plugins directory of your project won’t work
- Using cplusplus op instead helps, but you need to keep in mind the path to the dll. Of course you can always put an absolute path but it will silently break in your engine comp if you open it on another machine
- There’s a weird issue with the path if you want to provide it on the component level and reference it inside your cpp op (see example project for the details)
To Deriative: It would be nice to be able to use your project-local custom ops as is, if possible, or maybe there should be a path parameter on the engine comp for cases like this. Also please check inside my example for more quirks on using custom ops inside engine comp.
I hope it will help you guys, because it took me a good 6-8 hours to get this thing to work while maintaing the portability of the project
engine_test.zip (33.7 KB)