Download

CRITICAL ERROR! Stack for UAT. Cannot create SoftObjectPath..

**Already newest Enum has same DisplayNameMap situation,
but in SetPath() method we can see that class requires full pathname param, insteadof wrongest NewEnumeratorXX

https://www.youtube.com/watch?v=-AcKLKHh7Ac
** [HR][/HR]


LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: !FPackageName::IsShortPackageName(Path) [File:E:/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/UObject/SoftObjectPath.cpp] [Line: 46]
LogOutputDevice: Error: Cannot create SoftObjectPath with short package name 'NewEnumerator0'! You must pass in fully qualified package names
LogOutputDevice: Error: Stack: 

This error trows on enumeration and I can’t pack the release, but all code works in editor
Does somebody know what I must to do with this error?

I’ve already delete the enumeration, but this error still in an life
an incorrect update possible reason of this err, which was completed without core redirect instructions… but not sure, because new enums have same problem
my project has a lot of BP classes… can you take someof advice for my future development process?) What I must to do? Not update to newest ue4 versions under development process? Or how I can avoid similar mistakes in the future?


Begin Object Name="K2Node_SwitchEnum_1"
 Enum=UserDefinedEnum'"/Game/Blueprints/Structures/Weapon/Enum/EnWeaponType.EnWeaponType"'
 EnumEntries(0)="NewEnumerator0"
 EnumEntries(1)="NewEnumerator1"
 EnumEntries(2)="NewEnumerator2"
 EnumEntries(3)="NewEnumerator3"
 EnumEntries(4)="NewEnumerator4"
 EnumFriendlyNames(0)=NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "A9D0F5FC4FC8503410C558B511B8AB03", "Primary")
 EnumFriendlyNames(1)=NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "FFF96BE546E422B37519809030BCD27F", "Secondary")
 EnumFriendlyNames(2)=NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "EF54607D4B06694B5B834F8BAE502B14", "Melee")
 EnumFriendlyNames(3)=NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "CC71C96348D635E7189A3B95A1755B3D", "Throwable")
 EnumFriendlyNames(4)=NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "B2DAB8034CDCC9DD26E6CA8FEF365116", "Special")
 NodePosX=-416
 NodeGuid=2654ED1E46DA6F30671AAEBB9C3131D8
 CustomProperties Pin (PinId=0F442E414E0E9E3C25CA1B9FF7246A26,PinName="execute",PinType.PinCategory="exec",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(K2Node_VariableSet_5 3222D22140DD897488CC8E9A08DA110C,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
 CustomProperties Pin (PinId=E5A7183440205D3A1FBABB81CC59B400,PinName="Selection",PinType.PinCategory="byte",PinType.PinSubCategory="",PinType.PinSubCategoryObject=UserDefinedEnum'"/Game/Blueprints/Structures/Weapon/Enum/EnWeaponType.EnWeaponType"',PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,DefaultValue="NewEnumerator0",LinkedTo=(K2Node_VariableSet_5 56A3C27141852E80A687A7AA3339B427,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
 CustomProperties Pin (PinId=F9F50FB94163C383F59408807F0C69FF,PinName="NotEqual_ByteByte",PinType.PinCategory="object",PinType.PinSubCategory="",PinType.PinSubCategoryObject=Class'"/Script/Engine.KismetMathLibrary"',PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,DefaultObject="/Script/Engine.Default__KismetMathLibrary",PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=True,bDefaultValueIsReadOnly=True,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
 CustomProperties Pin (PinId=9C68503749CEC082A83295975206BDE1,PinName="NewEnumerator0",PinFriendlyName=NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "A9D0F5FC4FC8503410C558B511B8AB03", "Primary"),Direction="EGPD_Output",PinType.PinCategory="exec",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(K2Node_Knot_2 46F569814198CAFE9A609C80E5648B44,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
 CustomProperties Pin (PinId=6517595C483DB9D0C2E2AC9CDEA94A69,PinName="NewEnumerator1",PinFriendlyName=NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "FFF96BE546E422B37519809030BCD27F", "Secondary"),Direction="EGPD_Output",PinType.PinCategory="exec",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(K2Node_Knot_3 9A0B20F446C755C3EEC03991BD469A51,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
 CustomProperties Pin (PinId=39DA815447DE94184440CD912F61F0E7,PinName="NewEnumerator2",PinFriendlyName=NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "EF54607D4B06694B5B834F8BAE502B14", "Melee"),Direction="EGPD_Output",PinType.PinCategory="exec",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(K2Node_DynamicCast_1 1C107DFC4C6D0668584D15A34AFA45B0,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
 CustomProperties Pin (PinId=B0EBD03547EDE5DE6E2BCFB445ABAC69,PinName="NewEnumerator3",PinFriendlyName=NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "CC71C96348D635E7189A3B95A1755B3D", "Throwable"),Direction="EGPD_Output",PinType.PinCategory="exec",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(K2Node_Knot_8 9DF405574D4318E81BDF22B4587BAF86,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
 CustomProperties Pin (PinId=9CC789074354F973FC263C8BE57CD9F1,PinName="NewEnumerator4",PinFriendlyName=NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "B2DAB8034CDCC9DD26E6CA8FEF365116", "Special"),Direction="EGPD_Output",PinType.PinCategory="exec",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(K2Node_Knot_7 9350213E4A5D9CF951AC84A98B83F5F1,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object


Begin Object Class=/Script/Engine.UserDefinedEnum Name="EnWeaponType"
   UniqueNameIndex=5
   DisplayNameMap=(("NewEnumerator0", NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "A9D0F5FC4FC8503410C558B511B8AB03", "Primary")),("NewEnumerator1", NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "FFF96BE546E422B37519809030BCD27F", "Secondary")),("NewEnumerator2", NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "EF54607D4B06694B5B834F8BAE502B14", "Melee")),("NewEnumerator3", NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "CC71C96348D635E7189A3B95A1755B3D", "Throwable")),("NewEnumerator4", NSLOCTEXT("[CEECF3C743EEC63B70AA3E96C0D5AF25]", "B2DAB8034CDCC9DD26E6CA8FEF365116", "Special")))
End Object

Enumerator which trows error… There it called as NewEnumerator0, but I not understand how it works. In BP can’t see anyof mistake. [HR][/HR]P.S. Latest UE4 Release (at post date) from git master branch…

Nobody answered. So i tried and could done solver for my problem byself

.h


#pragma once

#include "Engine.h"
#include "CoreMinimal.h"
#include "WeaponTypes.generated.h"

UENUM(BlueprintType)
enum WeaponTypes {
    Primary UMETA(DisplayName = "Primary"),
    Secondary UMETA(DisplayName = "Secondary"),
    Melee UMETA(DisplayName = "Melee"),
    Throwable UMETA(DisplayName = "Throwable"),
    Speciality UMETA(DisplayName = "Speciality")
};

[HR][/HR].cpp


#include "h3d_shooter/Public/WeaponTypes.h"

[HR][/HR]