Unreal 5.4.2 SQLite has stopped compiling

I’ve been using SQLiteCore and SQLiteSupport since Unreal 5.3. After updating the Engine to 5.4.2 from 5.4.1 the project no longer compiles.

fatal error C1083: Cannot open include file: 'SQLiteDatabase.h': No such file or directory

Nothing else has changed, does anyone have any ideas?
Thanks

I’ve tried retargetting back to 5.3 and it no longer compiles. The error is still the same.
I’ve tried Rider, no change.
I’ve commented out the code and other files that use to compile no longer compile. With some other include file that can no longer be found.

Is there anyway to open the project in Unreal, without trying to compile?

Did you add the plugin(s)?

image

Yes, I did. It’s been working since I added it in 5.3. But has now stopped working.

If I change the include to the full path include “C:\Dev\UE_5.3\Engine\Plugins\Runtime\Database\SQLiteCore\Source\SQLiteCore\Public\SQLiteDatabase.h”

Just in case it the op can’t get into the editor they can also just edit the uproject file directly

{
	"FileVersion": 3,
	"EngineAssociation": "5.4",
	"Category": "",
	"Description": "",
	"Modules": [
		{
			"Name": "yourProjectName",
			"Type": "Runtime",
			"LoadingPhase": "Default"
		}
	],
"Plugins": [
{
		"Name": "SQLiteCore",
		"Enabled": true
},
{
		"Name": "SQLiteSupport",
		"Enabled": true
}
]
}
"Plugins": [
	{
		"Name": "ModelingToolsEditorMode",
		"Enabled": true,
		"TargetAllowList": [
			"Editor"
		]
	},
	{
		"Name": "SQLiteCore",
		"Enabled": true
	},
	{
		"Name": "SQLiteSupport",
		"Enabled": true
	},
	{
		"Name": "rts_camera",
		"Enabled": true
	},
	{
		"Name": "JWTPlugin",
		"Enabled": true,
		"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/5a7b13f17ce04fc3b4a571a8faf58b4a"
	},
	{
		"Name": "VisualStudioTools",
		"Enabled": true,
		"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/362651520df94e4fa65492dbcba44ae2",
		"SupportedTargetPlatforms": [
			"Win64"
		]
	}
]
				PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "EngineSettings", "InputCore", "EnhancedInput", "WebSockets", "GameUI",
					"UMG", "SlateCore", "BattleTech", "SQLiteCore", "SQLiteSupport" });

So basically I am screwed.

I’ve tried uninstalling all versions of Unreal, deleted the project, and re-installed both.
Still have the same problem. :frowning:

Could something be missing from the DefaultEngine.ini?

For anyone with a similar problem.

Unreal will spit out random errors (sometimes) if there is:

  • a missing header file
  • a missing Module / plugin (or incorrectly configured)
  • an incorrect USTRUCT or UCLASS declaration

The mistake I made was to write new code while upgrading Unreal, so I had no idea what caused the problem.
Eventually I rolled back through my commits until I found one that compiled. Then I started adding the changes in one at a time until I found the code that broken the build. It was then simple to fix the problem.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.