Removing the plugin from the engine and adding it to the project does not help.
UATHelper: Packaging (Windows): ERROR: Expecting to find a type to be declared in a module rules named ‘AdvancedSessions’ in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type defined by Unreal Build Tool.
PackagingResults: Error: Expecting to find a type to be declared in a module rules named ‘AdvancedSessions’ in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type defined by Unreal Build Tool.
I made a sample project which compiles & packs no problems.
Why are you adding it to the engine?
Did you get the latest version of the plugin off of github?
Did you
create a Plugins folder in your c++ project and copy the AdvancedSessions folder to it
compile the project from source
enable the plugin
pack
As it’s a plugin no need to add anything to your build file