when i open a unreal engine 5 project and always there is a ArchiveProxy.h file error. please help me im searching this error for 2 days
Make sure you are building your project and not UE5.
If UE5 is in bold then select your game project name and right click it and set it as the default startup project. Then try compiling.
Also turn off live coding in unreal if it’s on
When I create a project, I rebuild it and it always gives an error in the ArchiveProxy.h file and I cannot start it.
The error clearly says you have live coding enabled and it’s stoping the compile
This should be unchecked!!!
a) close all open instances of unreal engine (check task manager)
b) close visual studio
c) delete the following folders in your project:
.vs
Binaries
DerivedDataCache
Intermediate
Right click your project’s uproject file => Generate visual studio project.
Run sln project.
Set correct default startup project
build
I did everything you said and it didn’t work, so I formatted the computer and installed everything from scratch, but there are still errors in the same places. I think there is an error in unreal engine
some of error codes :
virtual bool SetCompressionMap(TArray<FCompressedChunk>* CompressedChunks, ECompressionFlags CompressionFlags) override
{
return InnerArchive.SetCompressionMap(CompressedChunks, CompressionFlags);
}
virtual bool SetCompressionMap(TArray<FCompressedChunk>* CompressedChunks, ECompressionFlags CompressionFlags) override
{
return InnerArchive.SetCompressionMap(CompressedChunks, CompressionFlags);
}
and a tons of warnings
You still clearly have unreal running in the background while trying to build
Your project seems to be failing on a compiler level.
If it’s not live coding again, (it always turns itself on after recompiles) then either you are missing a .net library or a newer version of msvc.
You can ignore warnings, errors are important.
Also try switching the error list to Current Project.
Also what does the output window say about this error.
In the toolbar show: View => Output
it should look something like this:
You could also be using the wrong toolchain to compile, maybe the output view will show this.
Also is your project build target set to Development Editor?
Do you have visual studio 2019 installed alongside 2022? If so uninstall 2019 they clash and cause compile problems.
I have this errors too,and no way to fix.
I have “not” include this head file ,why does it pop out.