As the title says, I get an error for a plugin I made. But I keep getting errors. I can’t figure out how to make it all work.
Let’s start from the beginning.
First the plugin:
-It builds
-It works
-It does not package properly. I get an error for “Element” not being correct. I do not understand as the plugin build without issues.
Even worse, it still output the plugin. I get the plugin at the end. And it works as well.
So after trying that the plugin worked, I added it to my game. Works as expected. Everything runs fine. Until I try to package the game.
Then and only then do I get an error because somehow, it cannot make sense of FPermissionListOwners type on line 17. If it couldn’t figure it out, it shouldn’t build in the first place.
Hi, have you got "include “Misc/NamePermissionList.h” in your source file? The build system is more strict about include folders - that could be what’s happening.
FPermissionListOwners is the type of the sockets variable. I can’t really put a “;” before. The line before the semi colon error says it cannot make sense of “FPermissionListOwners” thus why it thought sockets needed a semi colon before.
Again, my C++ is rusty, so I can’t remember a lot of things. But it won’t work until you do.
EDIT:
Oh, I see, I thought what was in red were the only two errors.
Then, at the moment, I do not understand why Unreal is not recognizing the identifier.
That’s why it requires the semicolon; because it ignored that line.
I did not have it. The error no longer show up, but I still cannot package properly.
Error in plugin packaging is the same: UBA-UnrealEditor-Win64-Development.txt (106.8 KB)
But error in game packaging has changed. Now I no longer see something obvious that I can at least point out. UBA-StealthGame-Win64-Shipping.txt (30.8 KB)
I don’t think I use that one? My plugin is nothing more than a single class with a single function modified. Nothing related to servers. Not in my game, not in my plugin.
Edit: Alright I see the error. but the error happens in Core. Not in my plugin. Could it be an issue with my installation of inreal engine itself?
Thanks. VrmVMCObject is from VRM4U. Another plugin that I added. I didn’t think it could be the cause of the issue since it’s apparently well maintained and nobody seems to have my issue. I’ll put the issue on their git and wait there. Thanks for all the help and I’ll keep you updated