# ue 4.27 packagin error, I did not have before.

**URL:** <https://forums.unrealengine.com/t/ue-4-27-packagin-error-i-did-not-have-before/2660389>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [September 27, 2025, 10:26am UTC](https://forums.unrealengine.com/t/ue-4-27-packagin-error-i-did-not-have-before/2660389 "2025-09-27T10:26:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![stucki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stucki](https://forums.unrealengine.com/u/stucki)\
**Post date:** [September 27, 2025, 10:26am UTC](https://forums.unrealengine.com/t/ue-4-27-packagin-error-i-did-not-have-before/2660389/1 "2025-09-27T10:26:54Z")

</div>

Hi to all here.  
I just did some polishing to my game in Ue 4.27.2 and tried to package it for windows. Now i have an early packaging error that I did not have before.  
Only thing I new I changed, is working and packaging with ue 5.6. and installing a new Visual Studio Community Version and updating windows 10 to the latest.

In the log it told me it tried to package with visual stuido 2022, so i manually reinstalled visual studio 2019 for this. The reminders are gone now, but the problem still occurs.

Here is the last part of the log:

ATHelper: Packaging (Windows (64-bit)): C:\Program Files\Epic Games\UE\_4.27\Engine\Source\Runtime\CoreUObject\Public\Templates/Casts.h(219): warning C4996: ‘TCastImpl\<From,To,ECastType::UObjectToUObject\>::DoCast’: Cast\<\>() and CastChecked\<\>() should not be used with FProperties. Use CastField\<\>() or CastFieldChecked\<\>() instead. Please update your code  
to the new API before upgrading to the next release, otherwise your project will no longer compile.  
UATHelper: Packaging (Windows (64-bit)): with  
UATHelper: Packaging (Windows (64-bit)): [  
UATHelper: Packaging (Windows (64-bit)): From=FProperty,  
UATHelper: Packaging (Windows (64-bit)): To=FArrayProperty  
UATHelper: Packaging (Windows (64-bit)): ]  
UATHelper: Packaging (Windows (64-bit)): C:\Users\stuck\Documents\Unreal Projects\opaks\_milestone\_07\Plugins\VictoryPlugin27\Source\VictoryBPLibrary\Public\VictoryBPFunctionLibrary.h(1731): note: Siehe Verweis auf die gerade kompilierte Instanziierung “To \*Cast\<FArrayProperty,FProperty\>(From \*)” der Funktions-Vorlage.  
UATHelper: Packaging (Windows (64-bit)): with  
UATHelper: Packaging (Windows (64-bit)): [  
UATHelper: Packaging (Windows (64-bit)): To=FArrayProperty,  
UATHelper: Packaging (Windows (64-bit)): From=FProperty  
UATHelper: Packaging (Windows (64-bit)): ]  
UATHelper: Packaging (Windows (64-bit)): C:\Program Files\Epic Games\UE\_4.27\Engine\Source\Runtime\CoreUObject\Public\Templates/Casts.h(219): warning C4996: ‘TCastImpl\<From,To,ECastType::UObjectToUObject\>::DoCast’: Cast\<\>() and CastChecked\<\>() should not be used with FProperties. Use CastField\<\>() or CastFieldChecked\<\>() instead. Please update your code  
to the new API before upgrading to the next release, otherwise your project will no longer compile.  
UATHelper: Packaging (Windows (64-bit)): with  
UATHelper: Packaging (Windows (64-bit)): [  
UATHelper: Packaging (Windows (64-bit)): From=FProperty,  
UATHelper: Packaging (Windows (64-bit)): To=const FNumericProperty  
UATHelper: Packaging (Windows (64-bit)): ]  
UATHelper: Packaging (Windows (64-bit)): C:\Program Files\Epic Games\UE\_4.27\Engine\Source\Runtime\CoreUObject\Public\Templates/Casts.h(318): note: Siehe Verweis auf die gerade kompilierte Instanziierung “To \*Cast\<T,U\>(From \*)” der Funktions-Vorlage.  
UATHelper: Packaging (Windows (64-bit)): with  
UATHelper: Packaging (Windows (64-bit)): [  
UATHelper: Packaging (Windows (64-bit)): To=const FNumericProperty,  
UATHelper: Packaging (Windows (64-bit)): T=const FNumericProperty,  
UATHelper: Packaging (Windows (64-bit)): U=FProperty,  
UATHelper: Packaging (Windows (64-bit)): From=FProperty  
UATHelper: Packaging (Windows (64-bit)): ]  
UATHelper: Packaging (Windows (64-bit)): C:/Users/stuck/Documents/Unreal Projects/opaks\_milestone\_07/Plugins/VictoryPlugin27/Source/VictoryBPLibrary/Private/VictoryBPFunctionLibrary.cpp(5360): note: Siehe Verweis auf die gerade kompilierte Instanziierung “T \*Cast\<const FNumericProperty,FProperty\>(const U \*)” der Funktions-Vorlage.  
UATHelper: Packaging (Windows (64-bit)): with  
UATHelper: Packaging (Windows (64-bit)): [  
UATHelper: Packaging (Windows (64-bit)): T=const FNumericProperty,  
UATHelper: Packaging (Windows (64-bit)): U=FProperty  
UATHelper: Packaging (Windows (64-bit)): ]  
UATHelper: Packaging (Windows (64-bit)): Took 39,2712404s to run UnrealBuildTool.exe, ExitCode=6  
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool failed. See log for more details. (C:\Users\stuck\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_4.27\UBT-opaks-Win64-Development\_2.txt)  
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=6 (6)  
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED  
PackagingResults: Error: Unknown Error  
LogSlate: Only BGRA pngs, bmps or icos are supported in by External Image Picker  
LogSlate: Window ‘Project Settings’ being destroyed  
LogSlate: Window ‘Project Settings’ being destroyed

Can anybody help me with this ?  
I am an absolute noob in visualstudio related issues …  
kind regards  
Ingo

---

<div class="post-metadata">

**Author:** ![stucki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stucki](https://forums.unrealengine.com/u/stucki)\
**Post date:** [September 29, 2025, 10:22am UTC](https://forums.unrealengine.com/t/ue-4-27-packagin-error-i-did-not-have-before/2660389/2 "2025-09-29T10:22:30Z")

</div>

Sorry to post here again, but this is really an important issue for me. The betatests of the game should have begun already, only i cant get the game packaged for testing …

Would really need help here !  
kind regards

Ingo

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [October 1, 2025, 7:35am UTC](https://forums.unrealengine.com/t/ue-4-27-packagin-error-i-did-not-have-before/2660389/3 "2025-10-01T07:35:59Z")

</div>

Hey there @stucki! It looks like there’s an issue with a module. Specifically here, there’s some code that’s using the incorrect cast type for your version. This one explains itself for the most part. These seem to stem from either a version of Rami’s Victory Plugin that’s a version too far forward for your project.

> [@stucki](#):
>
> ATHelper: Packaging (Windows (64-bit)): C:\Program Files\Epic Games\UE\_4.27\Engine\Source\Runtime\CoreUObject\Public\Templates/Casts.h(219): warning C4996: ‘TCastImpl\<From,To,ECastType::UObjectToUObject\>::DoCast’: Cast\<\>() and CastChecked\<\>() should not be used with FProperties. Use CastField\<\>() or CastFieldChecked\<\>() instead. Please update your code  
> to the new API before upgrading to the next release, otherwise your project will no longer compile.

You might be able to glean more information from the UBT logs here:

`(C:\Users\stuck\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\UBT-opaks-Win64-Development_2.txt)`

---

<div class="post-metadata">

**Author:** ![stucki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stucki](https://forums.unrealengine.com/u/stucki)\
**Post date:** [October 3, 2025, 10:38am UTC](https://forums.unrealengine.com/t/ue-4-27-packagin-error-i-did-not-have-before/2660389/4 "2025-10-03T10:38:23Z")

</div>

SupportiveEntity, thx very much for the hint. As I am a noob in such things, what am i supposed to do now ?  
Contact the developer of the plugin ?  
And how did that happen ? I am not aware, I installed a newer version of the plugin at all.  
And a few weeks before the package ran without a problem…

kind regards-

Ingo

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [October 6, 2025, 12:19am UTC](https://forums.unrealengine.com/t/ue-4-27-packagin-error-i-did-not-have-before/2660389/5 "2025-10-06T00:19:58Z")

</div>

So just to verify, there were no updates to the victory plugin, your project engine version, or your Visual Studio version or modules?

First back up your project, then delete the `Saved`, `DerivedDataCache`, `Builds` and `Intermediate` folders in your project folder.

Test to see if the error changes.

Another test would be to verify you can build a (fresh) default project, once that works, then see if it can be built with the same version of the Victory plugin.

---

<div class="post-metadata">

**Author:** ![stucki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stucki](https://forums.unrealengine.com/u/stucki)\
**Post date:** [October 6, 2025, 10:55am UTC](https://forums.unrealengine.com/t/ue-4-27-packagin-error-i-did-not-have-before/2660389/6 "2025-10-06T10:55:19Z")

</div>

there has been an update to visdual studio. Unreal engine told me that. So i reinstalled the old version of visualstudio and unreal engine no longer tells me that it wants to compile with an older version.  
There also has been an windows 10 update ( the last 😉 )  
In my point of view there has been no update of the victory plugin itself.  
I already contacted rama the author of the plugin, but no answer yet.

I will try the blank project. thx for the idea !!  
kind regards

---

<div class="post-metadata">

**Author:** ![stucki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stucki](https://forums.unrealengine.com/u/stucki)\
**Post date:** [October 6, 2025, 11:05am UTC](https://forums.unrealengine.com/t/ue-4-27-packagin-error-i-did-not-have-before/2660389/7 "2025-10-06T11:05:24Z")

</div>

The blank project with the victory plugin packaged without any problems.

I did try the delete the unnecessary folders a week ago. Didnt change a thing …  
So I am really clueless, which is really bad, as my betatesters are waiting to test 😉

So if any other clue. I would be very thankful

---

<div class="post-metadata">

**Author:** ![stucki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stucki](https://forums.unrealengine.com/u/stucki)\
**Post date:** [October 6, 2025, 11:07am UTC](https://forums.unrealengine.com/t/ue-4-27-packagin-error-i-did-not-have-before/2660389/8 "2025-10-06T11:07:33Z")

</div>

but there is another thing i noticed when starting levels in the editor.  
i have this error

LogStats: FPlatformStackWalk::StackWalkAndDump - 0.018 s  
LogOutputDevice: Error: === Handled ensure: ===  
LogOutputDevice: Error: Ensure condition failed: VTRequestPageStatus\_HasData(RequestResult.Status) [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/Texture2D.cpp] [Line: 997]  
LogOutputDevice: Error: Stack:  
LogOutputDevice: Error: [Callstack] 0x00007ffe154730c9 UE4Editor-Engine.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffe14b31b00 UE4Editor-Engine.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffe14b30f53 UE4Editor-Engine.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffe758be35b UE4Editor-RenderCore.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffe758f7db4 UE4Editor-RenderCore.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffe759028f9 UE4Editor-RenderCore.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffe60de2398 UE4Editor-Core.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffe60de27ce UE4Editor-Core.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffe75889c67 UE4Editor-RenderCore.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffe75892f34 UE4Editor-RenderCore.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffe6137ff0b UE4Editor-Core.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffe61377050 UE4Editor-Core.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffed06d7374 KERNEL32.DLL!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ffed0d5cc91 ntdll.dll!UnknownFunction   
LogStats: SubmitErrorReport - 0.000 s  
LogStats: SendNewReport - 1.031 s  
LogStats: FDebug::EnsureFailed - 1.049 s

Does this make sence to anybody of you ?
