# Unreal 5.4.2 SQLite has stopped compiling

**URL:** <https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [June 5, 2024, 11:18pm UTC](https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576 "2024-06-05T23:18:36Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Commander\_Nimrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Commander\_Nimrod](https://forums.unrealengine.com/u/Commander_Nimrod)\
**Post date:** [June 5, 2024, 11:18pm UTC](https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576/1 "2024-06-05T23:18:36Z")

</div>

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.

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

```

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

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/9/a/f9a2c03c273eb13a8db15ba5e3379426377cd5a7.png)

---

<div class="post-metadata">

**Author:** ![Commander\_Nimrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Commander\_Nimrod](https://forums.unrealengine.com/u/Commander_Nimrod)\
**Post date:** [June 6, 2024, 9:22pm UTC](https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576/2 "2024-06-06T21:22:20Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![BugSwat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BugSwat](https://forums.unrealengine.com/u/BugSwat)\
**Post date:** [June 6, 2024, 10:06pm UTC](https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576/3 "2024-06-06T22:06:21Z")

</div>

Did you add the plugin(s)?

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/8/5/4857ab27b3eb504d999ee6c6f95228ade6e9be2a.png)

---

<div class="post-metadata">

**Author:** ![Commander\_Nimrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Commander\_Nimrod](https://forums.unrealengine.com/u/Commander_Nimrod)\
**Post date:** [June 6, 2024, 10:16pm UTC](https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576/4 "2024-06-06T22:16:38Z")

</div>

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”

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/6/316c599242ab310fc203a7dc9317bd4efd46e7d8.png)

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [June 6, 2024, 10:18pm UTC](https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576/5 "2024-06-06T22:18:25Z")

</div>

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

```auto
{
	"FileVersion": 3,
	"EngineAssociation": "5.4",
	"Category": "",
	"Description": "",
	"Modules": [
		{
			"Name": "yourProjectName",
			"Type": "Runtime",
			"LoadingPhase": "Default"
		}
	],
"Plugins": [
{
		"Name": "SQLiteCore",
		"Enabled": true
},
{
		"Name": "SQLiteSupport",
		"Enabled": true
}
]
}

```

---

<div class="post-metadata">

**Author:** ![Commander\_Nimrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Commander\_Nimrod](https://forums.unrealengine.com/u/Commander_Nimrod)\
**Post date:** [June 6, 2024, 10:19pm UTC](https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576/6 "2024-06-06T22:19:36Z")

</div>

```auto
"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"
		]
	}
]

```

```auto
				PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "EngineSettings", "InputCore", "EnhancedInput", "WebSockets", "GameUI",
					"UMG", "SlateCore", "BattleTech", "SQLiteCore", "SQLiteSupport" });

```

---

<div class="post-metadata">

**Author:** ![Commander\_Nimrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Commander\_Nimrod](https://forums.unrealengine.com/u/Commander_Nimrod)\
**Post date:** [June 12, 2024, 10:00pm UTC](https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576/7 "2024-06-12T22:00:02Z")

</div>

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. ☹

---

<div class="post-metadata">

**Author:** ![Commander\_Nimrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Commander\_Nimrod](https://forums.unrealengine.com/u/Commander_Nimrod)\
**Post date:** [June 14, 2024, 1:23am UTC](https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576/8 "2024-06-14T01:23:12Z")

</div>

Could something be missing from the DefaultEngine.ini?

---

<div class="post-metadata">

**Author:** ![Commander\_Nimrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Commander\_Nimrod](https://forums.unrealengine.com/u/Commander_Nimrod)\
**Post date:** [June 20, 2024, 9:09pm UTC](https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576/9 "2024-06-20T21:09:20Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 20, 2024, 9:10pm UTC](https://forums.unrealengine.com/t/unreal-5-4-2-sqlite-has-stopped-compiling/1891576/10 "2024-07-20T21:10:07Z")

</div>

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