Trying to debug this strange packaging error that comes up … project has been packaging just fine from day 1 - added in a few plugins - OnlineSubsystemSteam, AdvancedSessions, AsyncLoadingScreen(Engine) and now i’m getting this weird package error i dont make sense of:
D:\ue5\UnrealEngine\Engine\Plugins\Runtime\ModelViewViewModel\Source\ModelViewViewModel\Public\MVVMViewModelBase.h(6): fatal error C1083: Cannot open include file: 'FieldNotification/IClassDescriptor.h': No such file or directory
this is like a FRESHLY INSTALLED/compiled 5.2 source as of about 1 day ago. I was getting the same error with 5.1 and thought that something bugged out in the engine files - clearly not the case
So this packaged fine in a fresh/new project with 0 code implementation and just the plugins…
Ive added in a ViewModel to see if theres some mishap there… due to the original error code in the build - and this new project it came up withthes same error as well. All i’ve done is added to the build.cs - "ModelViewViewModel" and created a file MyViewModel.h with some attributes in it - not even bound to any attribute set or anything… Added a UI in the project that has 1 value bound to this ViewModel - and got the same exact error for packaging:
[5/20] Compile [x64] MyViewModel.cpp
D:\ue5\UnrealEngine\Engine\Plugins\Runtime\ModelViewViewModel\Source\ModelViewViewModel\Public\MVVMViewModelBase.h(6): fatal error C1083: Cannot open include file: 'FieldNotification/IClassDescriptor.h': No such file or directory
[6/20] Compile [x64] MyViewModel.gen.cpp
D:\ue5\UnrealEngine\Engine\Plugins\Runtime\ModelViewViewModel\Source\ModelViewViewModel\Public\MVVMViewModelBase.h(6): fatal error C1083: Cannot open include file: 'FieldNotification/IClassDescriptor.h': No such file or directory
I’m sorry to hear that you’ve ran into an error. I recognized this error and recalled seeing it from a few versions back on this post. The user appeared to find a solution to fixing it. Let’s start there and if that’s not a resolution in your product, we can look into other solutions. I hope this helps!
thanks for coming in! Unfortunately there are no improper includes in project files. This is clear-cut and dry…
Addition of “ModelViewViewModel” to the biuld.cs
Creation of c++ class of type - UMVVMViewModelBase
Useage of this in 1 widget blueprint and binded 1 variable from the ViewModel
Attempt to package project for windows (using source 5.2 - have tried also 5.1) and the error mentioned is thrown. I have done nothing outside of ordinary useage as declared here:
If I’m the only one having this issue - its somehow on my end but I doubt that to be the case… as I"ve done nothing illicit. This is 100% reproduceable on any project i create in engine.
As soon as I implement a class which is derived from UMVVMViewModelBase on 5.2.1, the project will not compile. At quick glance, the error is coming from a lack of conversion operator in the generated code.
There must be something wrong with the plugin currently. Hence “beta”. It was working fine for me a few days ago and suddenly error with generated code began appearing.
This is the result of an empty derived class from UMVVMViewModelBase with nothing in it… The plugin is not useable for me anymore. I had to disable it and rely on a handmade mechanism to achieve my goals in the meantime.