diff --git a/LyraStarterGame/Build/EditorPerfStats.csv b/LyraStarterGame/Build/EditorPerfStats.csv
new file mode 100644
index 0000000000000000000000000000000000000000..c09646b0da25efcd5486cf32cecd6bf91f09624c
--- /dev/null
+++ b/LyraStarterGame/Build/EditorPerfStats.csv
@@ -0,0 +1,7 @@
+Name,Statistic,TelemetryContext,TelemetryDataPoint,TelemetryUnit,BaselineWarningThreshold,BaselineErrorThreshold,
+Generated Scope for LoadAsset - /Game/System/DefaultEditorMap/L_DefaultEditorOverview,TotalDurationSeconds,Events,Load L_DefaultEditorOverview,Seconds,10%,,
+Generated Scope for PIE - /Game/System/DefaultEditorMap/L_DefaultEditorOverview,TotalDurationSeconds,Events,PIE L_DefaultEditorOverview,Seconds,10%,,
+Generated Scope for LoadAsset - /Game/System/FrontEnd/Maps/L_LyraFrontEnd,TotalDurationSeconds,Events,Load L_LyraFrontEnd,Seconds,10%,,
+Generated Scope for PIE - /Game/System/FrontEnd/Maps/L_LyraFrontEnd,TotalDurationSeconds,Events,PIE L_LyraFrontEnd,Seconds,10%,,
+Generated Scope for LoadAsset - /ShooterMaps/Maps/L_Expanse,TotalDurationSeconds,Events,Load L_Expanse,Seconds,10%,,
+Generated Scope for PIE - /ShooterMaps/Maps/L_Expanse,TotalDurationSeconds,Events,PIE L_Expanse,Seconds,10%,,
\ No newline at end of file
diff --git a/LyraStarterGame/Build/GauntletSettings.xml b/LyraStarterGame/Build/GauntletSettings.xml
new file mode 100644
index 0000000000000000000000000000000000000000..52623947a1344d53bb24239739eb132153a1b893
--- /dev/null
+++ b/LyraStarterGame/Build/GauntletSettings.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LyraStarterGame/Build/LyraBuild.xml b/LyraStarterGame/Build/LyraBuild.xml
new file mode 100644
index 0000000000000000000000000000000000000000..25fcc8d9f726a6b255e43e8c1bc16547e98515fa
--- /dev/null
+++ b/LyraStarterGame/Build/LyraBuild.xml
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LyraStarterGame/Build/LyraTests.xml b/LyraStarterGame/Build/LyraTests.xml
new file mode 100644
index 0000000000000000000000000000000000000000..36cc3b169c10c985b5626d3a13a3ec783a0752f9
--- /dev/null
+++ b/LyraStarterGame/Build/LyraTests.xml
@@ -0,0 +1,333 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LyraStarterGame/Build/UnrealGameSync.ini b/LyraStarterGame/Build/UnrealGameSync.ini
new file mode 100644
index 0000000000000000000000000000000000000000..4404b219fa9bd6d6847bd15b947f7b110dd76dc5
--- /dev/null
+++ b/LyraStarterGame/Build/UnrealGameSync.ini
@@ -0,0 +1,5 @@
+[Default]
+
+;[//UE5/Main/Samples/Games/Lyra/Lyra.uproject]
+;Message=:alert: You can put a message here, including [hyperlinks to docs](http://example.com)
+;StatusPanelColor=#9b49cc
diff --git a/LyraStarterGame/Config/DefaultDeviceProfiles.ini b/LyraStarterGame/Config/DefaultDeviceProfiles.ini
new file mode 100644
index 0000000000000000000000000000000000000000..9439d648fca5a1e8be986761cb3a283dc183230b
--- /dev/null
+++ b/LyraStarterGame/Config/DefaultDeviceProfiles.ini
@@ -0,0 +1,571 @@
+[DeviceProfiles]
+; Add a new mobile type as a base for IOS and Android and several performance buckets
++DeviceProfileNameAndTypes=Mobile,Mobile
++DeviceProfileNameAndTypes=IOS_Low,IOS
++DeviceProfileNameAndTypes=IOS_Mid,IOS
++DeviceProfileNameAndTypes=IOS_High,IOS
++DeviceProfileNameAndTypes=IOS_Epic,IOS
+
+[GlobalDefaults DeviceProfile]
+; This section overrides the default texture groups, in this case it defines the UI With Mips category named in DefaultEngine.ini
+; Any changes here are inherited by any device profiles that do not override this lod group
++TextureLODGroups=(Group=TEXTUREGROUP_Project01,MinLODSize=32,MaxLODSize=2048,LODBias=0,MipFilter=point,MipGenSettings=TMGS_SimpleAverage)
+
+
+; Default settings for all mobile devices
+
+[Mobile DeviceProfile]
+DeviceType=Mobile
+BaseProfileName=
++TextureLODGroups=(Group=TEXTUREGROUP_World,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_WorldNormalMap,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_WorldSpecular,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_Character,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_CharacterNormalMap,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_CharacterSpecular,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_Weapon,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_WeaponNormalMap,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_WeaponSpecular,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_Vehicle,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_VehicleNormalMap,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_VehicleSpecular,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
++TextureLODGroups=(Group=TEXTUREGROUP_Project01,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=32,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="Aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
+
+; Settings for GPU particles
++CVars=FX.AllowGPUParticles=1
+; Max 256k partices
++CVars=fx.GPUSimulationTextureSizeX=512
++CVars=fx.GPUSimulationTextureSizeY=512
+
+; Scalability Groups
++CVars=sg.ViewDistanceQuality=0
++CVars=sg.AntiAliasingQuality=0
++CVars=sg.ShadowQuality=0
++CVars=sg.PostProcessQuality=0
++CVars=sg.TextureQuality=0
++CVars=sg.EffectsQuality=0
++CVars=sg.FoliageQuality=0
+; Dump shaders for non-active material qualities on load
++CVars=r.DiscardUnusedQuality=1
+; Settings we want disabled globally / not set by scalability
++CVars=r.DetailMode=0
+; Cook out emitters that don't match the device's detail mode
++CVars=fx.PruneEmittersOnCookByDetailMode=1
++CVars=r.CookOutUnusedDetailModeComponents=1
+
+; Default all devices to 30fps vsync
++CVars=r.VSync=1
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=30
+
+; Animation - Frame Stripping on mobile to save memory
++CVars=a.StripFramesOnCompression=1
++CVars=a.StripOddFramesWhenFrameStripping=1
++CVars=r.RenderTargetPoolMin=150
+; Allow time-critical textures to be streamed in quickly on platforms with long streaming update cycle
++CVars=r.Streaming.AllowFastForceResident=1
++CVars=r.Streaming.PoolSizeForMeshes=25
+; Do not use Slate background blur on mobile
++CVars=Slate.ForceBackgroundBlurLowQualityOverride=1
+; Use default setting (1) on mobile, engine will add additional buffering when required
++CVars=r.NumBufferedOcclusionQueries=1
+
+[IOS DeviceProfile]
+DeviceType=IOS
+BaseProfileName=Mobile
+
+; Dynamic res/temporal upsampling for 30FPS, 900p output res
++CVars=r.DynamicRes.TargetedGPUHeadRoomPercentage=5.0
++CVars=r.DynamicRes.MinScreenPercentage=50
++CVars=r.DynamicRes.OperationMode=1
++CVars=r.SecondaryScreenPercentage.GameViewport=83.33
+
+; ------------------------------------------------------------------------------
+; iOS: Scalability buckets for low/med/high
+; ------------------------------------------------------------------------------
+
+[IOS_Low DeviceProfile]
+BaseProfileName=IOS
++CVars=sg.ViewDistanceQuality=0
++CVars=sg.AntiAliasingQuality=0
++CVars=sg.ShadowQuality=0
++CVars=sg.PostProcessQuality=0
++CVars=sg.TextureQuality=0
++CVars=sg.EffectsQuality=0
++CVars=sg.FoliageQuality=0
++CVars=r.RenderTargetPoolMin=75
++CVars=r.NumBufferedOcclusionQueries=2
++CVars=s.PriorityAsyncLoadingExtraTime=15.0
+
+[IOS_Mid DeviceProfile]
+BaseProfileName=IOS
++CVars=sg.ViewDistanceQuality=1
++CVars=sg.AntiAliasingQuality=1
++CVars=sg.ShadowQuality=1
++CVars=sg.PostProcessQuality=1
++CVars=sg.TextureQuality=1
++CVars=sg.EffectsQuality=1
++CVars=sg.FoliageQuality=1
++CVars=sg.ShadowQuality.Frontend=0
++CVars=r.RenderTargetPoolMin=100
+
++CVars=r.MobileContentScaleFactor=1.5
++CVars=r.Streaming.PoolSize=85
++CVars=grass.densityScale=0
++CVars=grass.DiscardDataOnLoad=1
++CVars=foliage.densityScale=0
++CVars=foliage.DiscardDataOnLoad=1
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:1
+
+; Anim dynamics is enabled, but only on LOD0
++CVars=p.AnimDynamics=1
++CVars=p.AnimDynamicsLODThreshold=0
+; Rigid body is actually enabled in IOS_Mid
++CVars=p.RigidBodyLODThreshold=0
+
+[IOS_High DeviceProfile]
+BaseProfileName=IOS
++CVars=sg.ViewDistanceQuality=2
++CVars=sg.AntiAliasingQuality=2
++CVars=sg.ShadowQuality=2
++CVars=sg.PostProcessQuality=2
++CVars=sg.TextureQuality=2
++CVars=sg.EffectsQuality=2
++CVars=sg.FoliageQuality=2
++CVars=sg.ShadowQuality.Frontend=0
++CVars=r.RenderTargetPoolMin=150
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:1
++CVars=p.RigidBodyNode=1
+; TAA
++CVars=r.Mobile.AntiAliasing=2
+
+[IOS_Epic DeviceProfile]
+BaseProfileName=IOS
++CVars=sg.ViewDistanceQuality=3
++CVars=sg.AntiAliasingQuality=3
++CVars=sg.ShadowQuality=3
++CVars=sg.PostProcessQuality=3
++CVars=sg.TextureQuality=3
++CVars=sg.EffectsQuality=3
++CVars=sg.FoliageQuality=3
++CVars=sg.ShadowQuality.Frontend=0
++CVars=r.RenderTargetPoolMin=200
++CVars=p.RigidBodyNode=1
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:2
+; TAA
++CVars=r.Mobile.AntiAliasing=2
+
+; ------------------------------------------------------------------------------
+; iOS: Low spec devices
+; ------------------------------------------------------------------------------
+
+[iPhone6S DeviceProfile]
+BaseProfileName=IOS_Low
++CVars=r.MobileContentScaleFactor=1.5
++CVars=sg.ResolutionQuality=70
+
+[iPhone6SPlus DeviceProfile]
+BaseProfileName=IOS_Low
++CVars=r.MobileContentScaleFactor=1.28
+
+[iPhoneSE DeviceProfile]
+BaseProfileName=IOS_Low
++CVars=r.MobileContentScaleFactor=1.5
+
+[iPad5 DeviceProfile]
+BaseProfileName=IOS_Low
++CVars=r.MobileContentScaleFactor=1.0
++CVars=sg.ResolutionQuality=85
+
+[iPadAir2 DeviceProfile]
+BaseProfileName=IOS_Low
++CVars=r.MobileContentScaleFactor=1.0
++CVars=sg.ResolutionQuality=75
+
+[iPadMini4 DeviceProfile]
+BaseProfileName=IOS_Low
++CVars=r.MobileContentScaleFactor=1.0
+
+[AppleTV DeviceProfile]
+BaseProfileName=IOS_Low
++CVars=r.MobileContentScaleFactor=1.0
++CVars=ios.PhysicalScreenDensity=0
+
+; ------------------------------------------------------------------------------
+; iOS: Mid spec devices
+; ------------------------------------------------------------------------------
+
+[iPodTouch7 DeviceProfile]
+BaseProfileName=IOS_Mid
++CVars=r.MobileContentScaleFactor=1.6
+
+[iPhone7 DeviceProfile]
+BaseProfileName=IOS_Low
++CVars=r.MobileContentScaleFactor=1.6
+
+[iPhone7Plus DeviceProfile]
+BaseProfileName=IOS_Low
++CVars=r.MobileContentScaleFactor=1.5
+
+[iPadPro129 DeviceProfile]
+BaseProfileName=IOS_Mid
++CVars=r.MobileContentScaleFactor=1.0
+
+[iPadPro97 DeviceProfile]
+BaseProfileName=IOS_Mid
++CVars=r.MobileContentScaleFactor=1.25
+
+[iPad6 DeviceProfile]
+BaseProfileName=IOS_Low
++CVars=r.MobileContentScaleFactor=1.0
+
+[AppleTV4K DeviceProfile]
+BaseProfileName=IOS_Mid
++CVars=r.MobileContentScaleFactor=1.0
++CVars=ios.PhysicalScreenDensity=0
+
+
+; ------------------------------------------------------------------------------
+; iOS: High spec devices
+; ------------------------------------------------------------------------------
+
+[iPhone8 DeviceProfile]
+BaseProfileName=IOS_Low
++CVars=r.MobileContentScaleFactor=1.6
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:0
+
+[iPhone8Plus DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.956
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:1
+
+[iPadPro2_129 DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.23
+
+[iPadPro105 DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.3
+
+[iPhoneX DeviceProfile]
+BaseProfileName=IOS_Mid
++CVars=r.MobileContentScaleFactor=1.775
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
++CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=60:75
+
+[iPad7 DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.23
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+[iPad8 DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.23
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+[iPad9 DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.23
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+; ------------------------------------------------------------------------------
+; iOS: Epic spec devices
+; ------------------------------------------------------------------------------
+
+[iPadPro11 DeviceProfile]
+BaseProfileName=IOS_Epic
++CVars=r.MobileContentScaleFactor=2.0
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=120
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=120:1
++CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=120:50
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+[iPadPro2_11 DeviceProfile]
+BaseProfileName=IOS_Epic
++CVars=r.MobileContentScaleFactor=2.0
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=120
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=120:1
++CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=120:50
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+[iPadPro3_11 DeviceProfile]
+BaseProfileName=IOS_Epic
++CVars=r.MobileContentScaleFactor=2.0
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=120
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=120:1
++CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=120:50
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+[iPadPro3_129 DeviceProfile]
+BaseProfileName=IOS_Epic
++CVars=r.MobileContentScaleFactor=1.75
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=120
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=120:1
++CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=120:50
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+[iPadPro4_129 DeviceProfile]
+BaseProfileName=IOS_Epic
++CVars=r.MobileContentScaleFactor=1.75
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=120
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=120:1
++CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=120:50
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+[iPhoneXS DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.775
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhoneXSMax DeviceProfile]
+BaseProfileName=IOS_High
+; scale to have the same backbuffer resolution as XS.
++CVars=r.MobileContentScaleFactor=1.6
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhoneXR DeviceProfile]
+BaseProfileName=IOS_Mid
++CVars=r.MobileContentScaleFactor=1.775
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhone11Pro DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.775
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhone11ProMax DeviceProfile]
+BaseProfileName=IOS_High
+; scale to have the same backbuffer resolution as XS.
++CVars=r.MobileContentScaleFactor=1.6
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhone11 DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.775
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhone12 DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.775
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhone12Pro DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.775
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhone12ProMax DeviceProfile]
+BaseProfileName=IOS_High
+; scale to have the same backbuffer resolution as XS.
++CVars=r.MobileContentScaleFactor=1.6
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhone12Mini DeviceProfile]
+BaseProfileName=IOS_High
+; scale to have the same backbuffer resolution as XS.
++CVars=r.MobileContentScaleFactor=1.6
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhone13 DeviceProfile]
+BaseProfileName=IOS_Epic
++CVars=r.MobileContentScaleFactor=1.775
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhone13Pro DeviceProfile]
+BaseProfileName=IOS_Epic
++CVars=r.MobileContentScaleFactor=1.775
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhone13ProMax DeviceProfile]
+BaseProfileName=IOS_Epic
+; scale to have the same backbuffer resolution as XS.
++CVars=r.MobileContentScaleFactor=1.6
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhone13Mini DeviceProfile]
+BaseProfileName=IOS_Epic
+; scale to have the same backbuffer resolution as XS.
++CVars=r.MobileContentScaleFactor=1.6
+; non-notch side
++CVars=SafeZone.Landscape.Left=15
++CVars=SafeZone.Landscape.Top=5
+; notch side
++CVars=SafeZone.Landscape.Right=26
++CVars=SafeZone.Landscape.Bottom=15
+
+[iPhoneSE2 DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=1.775
+
+[iPadAir3 DeviceProfile]
+BaseProfileName=IOS_Mid
++CVars=r.MobileContentScaleFactor=2.0
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+[iPadAir4 DeviceProfile]
+BaseProfileName=IOS_Mid
++CVars=r.MobileContentScaleFactor=2.0
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+[iPadMini5 DeviceProfile]
+BaseProfileName=IOS_Mid
++CVars=r.MobileContentScaleFactor=2.0
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+[iPadMini6 DeviceProfile]
+BaseProfileName=IOS_High
++CVars=r.MobileContentScaleFactor=2.0
++CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
+
+; TODO: Fill in Android device profiles
+
+[Android DeviceProfile]
+DeviceType=Android
+BaseProfileName=Mobile
+
+[Android_Low DeviceProfile]
+BaseProfileName=Android
++CVars=sg.ViewDistanceQuality=0
++CVars=sg.AntiAliasingQuality=0
++CVars=sg.ShadowQuality=0
++CVars=sg.PostProcessQuality=0
++CVars=sg.TextureQuality=0
++CVars=sg.EffectsQuality=0
++CVars=sg.FoliageQuality=0
++CVars=r.RenderTargetPoolMin=75
++CVars=r.NumBufferedOcclusionQueries=2
++CVars=s.PriorityAsyncLoadingExtraTime=15.0
+
+[Android_Mid DeviceProfile]
+BaseProfileName=Android
++CVars=sg.ViewDistanceQuality=1
++CVars=sg.AntiAliasingQuality=1
++CVars=sg.ShadowQuality=1
++CVars=sg.PostProcessQuality=1
++CVars=sg.TextureQuality=1
++CVars=sg.EffectsQuality=1
++CVars=sg.FoliageQuality=1
++CVars=sg.ShadowQuality.Frontend=0
++CVars=r.RenderTargetPoolMin=100
+
++CVars=r.MobileContentScaleFactor=1.5
++CVars=r.Streaming.PoolSize=85
++CVars=grass.densityScale=0
++CVars=grass.DiscardDataOnLoad=1
++CVars=foliage.densityScale=0
++CVars=foliage.DiscardDataOnLoad=1
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:1
+
+; Anim dynamics is enabled, but only on LOD0
++CVars=p.AnimDynamics=1
++CVars=p.AnimDynamicsLODThreshold=0
+; Rigid body is actually enabled in IOS_Mid
++CVars=p.RigidBodyLODThreshold=0
+
+[Android_High DeviceProfile]
+BaseProfileName=Android
++CVars=sg.ViewDistanceQuality=2
++CVars=sg.AntiAliasingQuality=2
++CVars=sg.ShadowQuality=2
++CVars=sg.PostProcessQuality=2
++CVars=sg.TextureQuality=2
++CVars=sg.EffectsQuality=2
++CVars=sg.FoliageQuality=2
++CVars=sg.ShadowQuality.Frontend=0
++CVars=r.RenderTargetPoolMin=150
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:1
+; TAA
++CVars=r.Mobile.AntiAliasing=2
+
+[Android_Epic DeviceProfile]
+BaseProfileName=Android
++CVars=sg.ViewDistanceQuality=3
++CVars=sg.AntiAliasingQuality=3
++CVars=sg.ShadowQuality=3
++CVars=sg.PostProcessQuality=3
++CVars=sg.TextureQuality=3
++CVars=sg.EffectsQuality=3
++CVars=sg.FoliageQuality=3
++CVars=sg.ShadowQuality.Frontend=0
++CVars=r.RenderTargetPoolMin=200
++CVars=p.RigidBodyNode=1
++CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
++CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:2
++CVars=r.Android.DisableVulkanSupport=0
+; TAA
++CVars=r.Mobile.AntiAliasing=2
diff --git a/LyraStarterGame/Config/DefaultEditor.ini b/LyraStarterGame/Config/DefaultEditor.ini
new file mode 100644
index 0000000000000000000000000000000000000000..7a3fc8f75f6651b42b2402d89541220b41b9e7ae
--- /dev/null
+++ b/LyraStarterGame/Config/DefaultEditor.ini
@@ -0,0 +1,91 @@
+
+; This sets the default classes that appear in the new blueprint dialogue
+
+[/Script/UnrealEd.UnrealEdOptions]
+!NewAssetDefaultClasses=ClearArray
++NewAssetDefaultClasses=(ClassName="/Script/LyraGame.LyraCharacter", AssetClass="/Script/Engine.Blueprint")
++NewAssetDefaultClasses=(ClassName="/Script/LyraGame.LyraGameMode", AssetClass="/Script/Engine.Blueprint")
++NewAssetDefaultClasses=(ClassName="/Script/LyraGame.LyraGameplayAbility", AssetClass="/Script/Engine.Blueprint")
++NewAssetDefaultClasses=(ClassName="/Script/GameplayAbilities.GameplayEffect", AssetClass="/Script/Engine.Blueprint")
++NewAssetDefaultClasses=(ClassName="/Script/GameplayAbilities.GameplayCueNotify_Burst", AssetClass="/Script/Engine.Blueprint")
++NewAssetDefaultClasses=(ClassName="/Script/GameplayAbilities.GameplayCueNotify_BurstLatent", AssetClass="/Script/Engine.Blueprint")
++NewAssetDefaultClasses=(ClassName="/Script/GameplayAbilities.GameplayCueNotify_Looping", AssetClass="/Script/Engine.Blueprint")
+
+; Clears out the list of UI folders to always cook, which is a backward compatibility feature
+
+[UI]
+!ContentDirectories=ClearArray
+
+[/Script/CommonUI.CommonUIEditorSettings]
+TemplateTextStyle=/Game/UI/Foundation/Text/TextStyle-Regular.TextStyle-Regular_C
+TemplateButtonStyle=/Game/UI/Foundation/Buttons/ButtonStyle-Primary-M.ButtonStyle-Primary-M_C
+
+; These settings hide some of the engine default widgets so the common UI ones are chosen instead
+
+[/Script/UMGEditor.UMGEditorProjectSettings]
+DefaultCompilerOptions=(bAllowBlueprintTick=True,bAllowBlueprintPaint=True,PropertyBindingRule=Prevent,Rules=)
+bShowWidgetsFromEngineContent=False
+bShowWidgetsFromDeveloperContent=True
++WidgetClassesToHide=/Script/UMG.WidgetSwitcher
++WidgetClassesToHide=/Script/UMG.TextBlock
+bUseWidgetTemplateSelector=False
+DefaultRootWidget=None
++DebugResolutions=(Width=3840,Height=2160,Description="",Color=(R=0.745404,G=0.904661,B=1.000000,A=1.000000))
++DebugResolutions=(Width=3440,Height=1440,Description="",Color=(R=0.439657,G=0.783538,B=0.982251,A=1.000000))
++DebugResolutions=(Width=2560,Height=1440,Description="",Color=(R=0.208637,G=0.644480,B=0.973445,A=1.000000))
++DebugResolutions=(Width=1440,Height=2560,Description="",Color=(R=0.215861,G=0.651406,B=0.973445,A=1.000000))
++DebugResolutions=(Width=2560,Height=1080,Description="",Color=(R=0.064803,G=0.539479,B=0.955973,A=1.000000))
++DebugResolutions=(Width=2048,Height=1536,Description="",Color=(R=0.009134,G=0.462077,B=0.947307,A=1.000000))
++DebugResolutions=(Width=1536,Height=2048,Description="",Color=(R=0.009134,G=0.462077,B=0.947307,A=1.000000))
++DebugResolutions=(Width=1920,Height=1080,Description="",Color=(R=0.000000,G=0.386429,B=0.930111,A=1.000000))
++DebugResolutions=(Width=1080,Height=1920,Description="",Color=(R=0.000000,G=0.386429,B=0.930111,A=1.000000))
++DebugResolutions=(Width=1280,Height=720,Description="",Color=(R=0.000000,G=0.318547,B=0.806952,A=1.000000))
++DebugResolutions=(Width=720,Height=1280,Description="",Color=(R=0.000000,G=0.318547,B=0.806952,A=1.000000))
++DebugResolutions=(Width=1136,Height=640,Description="",Color=(R=0.000000,G=0.238398,B=0.658375,A=1.000000))
++DebugResolutions=(Width=640,Height=1136,Description="",Color=(R=0.000000,G=0.238398,B=0.658375,A=1.000000))
+
+[/Script/Localization.LocalizationSettings]
+-EngineTargetsSettings=(Name="Engine",Guid=33482D004789784C9DA695A682ACCA1B,TargetDependencies=,AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((Path="Source/Runtime/"),(Path="Source/Developer/"),(Path="Config/")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*"),(Pattern="Source/Developer/NoRedist/UnrealEngineLauncherServices/*"),(Pattern="Source/Developer/NoRedist/BuildPatchServices/*")),FileExtensions=((Pattern="cpp"),(Pattern="h"),(Pattern="c"),(Pattern="inl"),(Pattern="mm"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/*")),ExcludePathWildcards=((Pattern="Content/Editor/*"),(Pattern="Content/Tutorial/*"),(Pattern="Content/Developers/*"),(Pattern="Content/TestPackages/*"),(Pattern="Content/QA_Assets/*"),(Pattern="Content/Maps/Automation/*"),(Pattern="Content/EngineSounds/*")),FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
+-EngineTargetsSettings=(Name="Editor",Guid=AC8BFD2A41A2FB2893BB8EA0AF903E6D,TargetDependencies=(33482D004789784C9DA695A682ACCA1B),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((Path="Source/Editor/")),ExcludePathWildcards=,FileExtensions=((Pattern="cpp"),(Pattern="h"),(Pattern="c"),(Pattern="inl"),(Pattern="mm"))),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/Editor/*"),(Pattern="Content/Editor*")),ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
+-EngineTargetsSettings=(Name="EditorTutorials",Guid=00F8E3AD47F0A73D50D46881C14DF28F,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=("IntroTutorials"),GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/Tutorial/*")),ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
+-EngineTargetsSettings=(Name="PropertyNames",Guid=E391A8B149980E8154E056AF2DA49479,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="DisplayName"),TextNamespace="UObjectDisplayNames",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
+-EngineTargetsSettings=(Name="ToolTips",Guid=0F116534468918AEA432DD8C77703BA8,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="ToolTip"),TextNamespace="UObjectToolTips",TextKeyPattern=(Pattern="{FieldPath}")),(MetaDataKey=(Name="ShortToolTip"),TextNamespace="UObjectShortToolTips",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
+-EngineTargetsSettings=(Name="Keywords",Guid=AE89AECB47475F420D0D69A5547515DC,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="Keywords"),TextNamespace="UObjectKeywords",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
+-EngineTargetsSettings=(Name="Category",Guid=14B8DEE642A6A7AFEB5A28B959EC373A,TargetDependencies=,AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=False),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="Category"),TextNamespace="UObjectCategory",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
++EngineTargetsSettings=(Name="Engine",Guid=33482D004789784C9DA695A682ACCA1B,TargetDependencies=,AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((Path="Source/Runtime/"),(Path="Source/Developer/"),(Path="Config/")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*"),(Pattern="Source/Developer/NoRedist/UnrealEngineLauncherServices/*"),(Pattern="Source/Developer/NoRedist/BuildPatchServices/*")),FileExtensions=((Pattern="cpp"),(Pattern="h"),(Pattern="c"),(Pattern="inl"),(Pattern="mm"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/*")),ExcludePathWildcards=((Pattern="Content/Editor/*"),(Pattern="Content/Tutorial/*"),(Pattern="Content/Developers/*"),(Pattern="Content/TestPackages/*"),(Pattern="Content/QA_Assets/*"),(Pattern="Content/Maps/Automation/*"),(Pattern="Content/EngineSounds/*")),FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
++EngineTargetsSettings=(Name="Editor",Guid=AC8BFD2A41A2FB2893BB8EA0AF903E6D,TargetDependencies=(33482D004789784C9DA695A682ACCA1B),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((Path="Source/Editor/")),ExcludePathWildcards=,FileExtensions=((Pattern="cpp"),(Pattern="h"),(Pattern="c"),(Pattern="inl"),(Pattern="mm")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/Editor/*"),(Pattern="Content/Editor*")),ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
++EngineTargetsSettings=(Name="EditorTutorials",Guid=00F8E3AD47F0A73D50D46881C14DF28F,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=("IntroTutorials"),GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/Tutorial/*")),ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
++EngineTargetsSettings=(Name="PropertyNames",Guid=E391A8B149980E8154E056AF2DA49479,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="DisplayName"),TextNamespace="UObjectDisplayNames",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
++EngineTargetsSettings=(Name="ToolTips",Guid=0F116534468918AEA432DD8C77703BA8,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="ToolTip"),TextNamespace="UObjectToolTips",TextKeyPattern=(Pattern="{FieldPath}")),(MetaDataKey=(Name="ShortToolTip"),TextNamespace="UObjectShortToolTips",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
++EngineTargetsSettings=(Name="Keywords",Guid=AE89AECB47475F420D0D69A5547515DC,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="Keywords"),TextNamespace="UObjectKeywords",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
++EngineTargetsSettings=(Name="Category",Guid=14B8DEE642A6A7AFEB5A28B959EC373A,TargetDependencies=,AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=False,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="Category"),TextNamespace="UObjectCategory",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
+-GameTargetsSettings=(Name="Game",Guid=AE0EA34A45461A25BA65A391026F19F8,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=False),NativeCultureIndex=-1,SupportedCulturesStatistics=((CultureName="en")))
++GameTargetsSettings=(Name="Game",Guid=AE0EA34A45461A25BA65A391026F19F8,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((Path="Source"),(Path="Config"),(Path="Plugins"),(PathRoot=Engine,Path="Source/Runtime/InputCore")),ExcludePathWildcards=((Pattern="Config/NoRedist/*"),(Pattern="Source/LyraEditor/*"),(Pattern="Plugins/PlayInEditorWizard/*"),(Pattern="Plugins/LyraExtTool/*")),FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/*"),(PathRoot=Project,Pattern="Plugins/GameFeatures/*")),ExcludePathWildcards=((Pattern="Content/Developers/*"),(Pattern="Content/*Test*"),(Pattern="Content/L10N/*"),(Pattern="Content/Tools/*")),FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=("Audit_InCook"),ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=False,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=False),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=True,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="ar"),(CultureName="fr"),(CultureName="zh-Hans"),(CultureName="de"),(CultureName="it"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="pl"),(CultureName="ru"),(CultureName="es-419"),(CultureName="es"),(CultureName="tr")))
++GameTargetsSettings=(Name="EngineOverrides",Guid=5C65B52E4F69C2CF62360A9D4F62BC6E,TargetDependencies=,AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((PathRoot=Engine,Path="Source/Runtime/RHI"),(PathRoot=Engine,Path="Source/Runtime/InputCore"),(PathRoot=Engine,Path="Source/Runtime/Online/BuildPatchServices/Private"),(PathRoot=Engine,Path="Source/Runtime/Core/Private/GenericPlatform")),ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=((Pattern="Content/L10N/*")),FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=False,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=False),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="ar"),(CultureName="zh-Hans"),(CultureName="fr"),(CultureName="de"),(CultureName="it"),(CultureName="ja"),(CultureName="ko"),(CultureName="pl"),(CultureName="tr"),(CultureName="ru"),(CultureName="es"),(CultureName="es-419"),(CultureName="pt-BR")))
+
+[/Script/SourceControl.SourceControlPreferences]
++CollectionChangelistTags=#jira none
+SpecificCollectionChangelistTags=(("Audit_InCook", "#robomerge[all] #ignore"))
+
+[/Script/UnrealEd.EditorProjectAppearanceSettings]
+ShowSearchableNames=ShowByDefault
+
+[/Script/GameFeaturesEditor.GameFeaturesEditorSettings]
+-PluginTemplates=(Path=(Path="../../Plugins/Runtime/GameFeatures/Templates/GameFeaturePluginContentOnly"),Label=NSLOCTEXT("[/Script/GameFeaturesEditor]", "E17DB7E94A2C0F5968A52E89959864C0", "Game Feature (Content Only)"),Description=NSLOCTEXT("[/Script/GameFeaturesEditor]", "CB5136B64AFAFBA5EDEA078FCAC7BCC9", "Create a new Game Feature Plugin."),DefaultGameFeatureDataClass=None,DefaultGameFeatureDataName="")
+-PluginTemplates=(Path=(Path="../../Plugins/Runtime/GameFeatures/Templates/GameFeaturePluginWithCode"),Label=NSLOCTEXT("[/Script/GameFeaturesEditor]", "90D6FD2A455176CEC42DD79A23AEC3B0", "Game Feature (with C++)"),Description=NSLOCTEXT("[/Script/GameFeaturesEditor]", "2B00A0E7415C8CEAA6DA609A141237F0", "Create a new Game Feature Plugin with a minimal amount of code."),DefaultGameFeatureDataClass=None,DefaultGameFeatureDataName="")
++PluginTemplates=(Path=(Path="../../Plugins/Runtime/GameFeatures/Templates/GameFeaturePluginContentOnly"),Label=NSLOCTEXT("[/Script/GameFeaturesEditor]", "E17DB7E94A2C0F5968A52E89959864C0", "Game Feature (Content Only)"),Description=NSLOCTEXT("[/Script/GameFeaturesEditor]", "CB5136B64AFAFBA5EDEA078FCAC7BCC9", "Create a new Game Feature Plugin."),DefaultGameFeatureDataClass=None,DefaultGameFeatureDataName="",bIsEnabledByDefault=True)
++PluginTemplates=(Path=(Path="../../Plugins/Runtime/GameFeatures/Templates/GameFeaturePluginWithCode"),Label=NSLOCTEXT("[/Script/GameFeaturesEditor]", "90D6FD2A455176CEC42DD79A23AEC3B0", "Game Feature (with C++)"),Description=NSLOCTEXT("[/Script/GameFeaturesEditor]", "2B00A0E7415C8CEAA6DA609A141237F0", "Create a new Game Feature Plugin with a minimal amount of code."),DefaultGameFeatureDataClass=None,DefaultGameFeatureDataName="",bIsEnabledByDefault=True)
+
+[CookSettings]
++IncrementalClassScriptPackageAllowList=Allow,
+
+[EditorPerformance.Profile.Lyra_Default]
+ProfileName=Lyra_Default
+Editor_Boot=50.0
+Editor_Total_Time_To_Editor=50.0
+Editor_Load_Map=10.0
+Cache_Local_Efficiency=90.0
+PIE_First_Transition=2.0
+PIE_Total_Time_To_PIE=60.0
+PIE_Iterative_Transition=1.0
+PIE_Shutdown=1.0
\ No newline at end of file
diff --git a/LyraStarterGame/Config/DefaultEditorKeyBindings.ini b/LyraStarterGame/Config/DefaultEditorKeyBindings.ini
new file mode 100644
index 0000000000000000000000000000000000000000..033e1ccabba794d556d00a55a91c977762fe9a23
--- /dev/null
+++ b/LyraStarterGame/Config/DefaultEditorKeyBindings.ini
@@ -0,0 +1,2 @@
+[UserDefinedChords]
+UserDefinedChords=~OpenBracket~~Quote~BindingContext~Quote~:~Quote~PlayWorld~Quote~,~Quote~CommandName~Quote~:~Quote~StopPlaySession~Quote~,~Quote~ChordIndex~Quote~:0,~Quote~Control~Quote~:false,~Quote~Alt~Quote~:false,~Quote~Shift~Quote~:true,~Quote~Command~Quote~:false,~Quote~Key~Quote~:~Quote~Escape~Quote~~CloseBracket~
diff --git a/LyraStarterGame/Config/DefaultEditorPerProjectUserSettings.ini b/LyraStarterGame/Config/DefaultEditorPerProjectUserSettings.ini
new file mode 100644
index 0000000000000000000000000000000000000000..f596ff2bd21172bf8d94ebc120bdf31fa6370a1a
--- /dev/null
+++ b/LyraStarterGame/Config/DefaultEditorPerProjectUserSettings.ini
@@ -0,0 +1,30 @@
+; This file is used to specify the default values for editor settings
+; These are set for new users but individuals can override that in the editor settings UI
+
+[/Script/UnrealEd.LevelEditorPlaySettings]
+GameGetsMouseControl=True
+RouteGamepadToSecondWindow=True
+NetworkEmulationSettings=(bIsNetworkEmulationEnabled=True,EmulationTarget=Server,CurrentProfile="Average",OutPackets=(MinLatency=30,MaxLatency=60,PacketLossPercentage=1),InPackets=(MinLatency=30,MaxLatency=60,PacketLossPercentage=1))
+
+; Enable the plugins and favorites to be displayed by default
+[/Script/UnrealEd.ContentBrowserSettings]
+DisplayPluginFolders=True
+DisplayFavorites=True
+
+[ContentBrowser]
+FavoritePaths=/LyraGame/Content,/ShooterCore,/ShooterMaps,/ShooterTests,/TopDownArena
+; Make all the content browsers have the Favorites expanded too
+ContentBrowserTab1.FavoritesAreaExpanded=True
+ContentBrowserTab2.FavoritesAreaExpanded=True
+ContentBrowserTab3.FavoritesAreaExpanded=True
+ContentBrowserTab4.FavoritesAreaExpanded=True
+ContentBrowserDrawer.FavoritesAreaExpanded=True
+
+
+; Some commonly used editor maps that will be displayed in the editor task bar
+[/Script/LyraGame.LyraDeveloperSettings]
++CommonEditorMaps=/Game/System/FrontEnd/Maps/L_LyraFrontEnd.L_LyraFrontEnd
++CommonEditorMaps=/Game/System/DefaultEditorMap/L_DefaultEditorOverview.L_DefaultEditorOverview
++CommonEditorMaps=/ShooterMaps/Maps/L_Expanse.L_Expanse
++CommonEditorMaps=/ShooterCore/Maps/L_ShooterGym.L_ShooterGym
++CommonEditorMaps=/ShooterTests/Maps/L_ShooterTest_DeviceProperties.L_ShooterTest_DeviceProperties
\ No newline at end of file
diff --git a/LyraStarterGame/Config/DefaultEditorSettings.ini b/LyraStarterGame/Config/DefaultEditorSettings.ini
new file mode 100644
index 0000000000000000000000000000000000000000..c40762d1069d4c78bdf8fed4a081be1097d5efab
--- /dev/null
+++ b/LyraStarterGame/Config/DefaultEditorSettings.ini
@@ -0,0 +1,3 @@
+[/Script/UnrealEd.ContentBrowserSettings]
+DisplayPluginFolders=True
+DisplayCppFolders=False
diff --git a/LyraStarterGame/Config/DefaultEngine.ini b/LyraStarterGame/Config/DefaultEngine.ini
new file mode 100644
index 0000000000000000000000000000000000000000..eb0601311f675ab7416fe4ba4f0f249a12f1e2be
--- /dev/null
+++ b/LyraStarterGame/Config/DefaultEngine.ini
@@ -0,0 +1,420 @@
+; Config file for config variables tied to general engine features
+
+[CoreUObject.UninitializedScriptStructMembersCheck]
+EngineModuleReflectedUninitializedPropertyVerbosity=Error
+ProjectModuleReflectedUninitializedPropertyVerbosity=Error
+ObjectReferenceReflectedUninitializedPropertyVerbosity=Error
+
+[DistillSettings]
++FilesToAlwaysDistill="Audio/*"
++FilesToAlwaysDistill="Effects/*"
++FilesToAlwaysDistill="Characters/*"
++FilesToAlwaysDistill="Legal/*"
++FilesToAlwaysDistill="Tools/*"
++FilesToAlwaysDistill="UI/*"
++FilesToAlwaysDistill="Weapons/*"
++FilesToAlwaysDistill="Editor/*"
+
+[CoreRedirects]
+
+[/Script/Engine.Engine]
+DurationOfErrorsAndWarningsOnHUD=3.0
+GameEngine=/Script/LyraGame.LyraGameEngine
+UnrealEdEngine=/Script/LyraEditor.LyraEditorEngine
+EditorEngine=/Script/LyraEditor.LyraEditorEngine
+GameViewportClientClassName=/Script/LyraGame.LyraGameViewportClient
+AssetManagerClassName=/Script/LyraGame.LyraAssetManager
+WorldSettingsClassName=/Script/LyraGame.LyraWorldSettings
+LocalPlayerClassName=/Script/LyraGame.LyraLocalPlayer
+GameUserSettingsClassName=/Script/LyraGame.LyraSettingsLocal
+NearClipPlane=3.000000
+
+[/Script/BuildSettings.BuildSettings]
+DefaultGameTarget=LyraGame
+
+;Iris - begin Iris Configuration for LyraGame
+
+[/Script/IrisCore.ReplicationStateDescriptorConfig]
++SupportsStructNetSerializerList=(StructName=LyraGameplayAbilityTargetData_SingleTargetHit)
+
+[/Script/IrisCore.ObjectReplicationBridgeConfig]
+; Filters
+DefaultSpatialFilterName=Spatial
+; Clear all filters
+!FilterConfigs=ClearArray
++FilterConfigs=(ClassName=/Script/Engine.LevelScriptActor, DynamicFilterName=NotRouted) ; Not needed
++FilterConfigs=(ClassName=/Script/Engine.Actor, DynamicFilterName=None))
+
+; Info types aren't supposed to have physical representation
++FilterConfigs=(ClassName=/Script/Engine.Info, DynamicFilterName=None)
++FilterConfigs=(ClassName=/Script/Engine.PlayerState, DynamicFilterName=None)
+; Pawns can be spatially filtered
++FilterConfigs=(ClassName=/Script/Engine.Pawn, DynamicFilterName=Spatial))
++FilterConfigs=(ClassName=/Script/EntityActor.SimObject, DynamicFilterName=None))
+
+;Iris - end
+
+[PacketHandlerComponents]
+; Enable this entry when testing the encrypted network traffic flow (Lyra.TestEncryption)
+;EncryptionComponent=AESGCMHandlerComponent
+;EncryptionComponent=DTLSHandlerComponent
+
+[Kismet]
+ScriptStackOnWarnings=true
+
+[/Script/EngineSettings.GameMapsSettings]
+GlobalDefaultGameMode=/Game/B_LyraGameMode.B_LyraGameMode_C
+GameInstanceClass=/Game/B_LyraGameInstance.B_LyraGameInstance_C
+GameDefaultMap=/Game/System/FrontEnd/Maps/L_LyraFrontEnd.L_LyraFrontEnd
+EditorStartupMap=/Game/System/DefaultEditorMap/L_DefaultEditorOverview.L_DefaultEditorOverview
+;TransitionMap=/Game/System/TransitionMap.TransitionMap ; Enable a real seamless travel transition map if needed to delay loading
+
+[/Script/Hotfix.OnlineHotfixManager]
+HotfixManagerClassName=/Script/LyraGame.LyraHotfixManager
+
+[/Script/Engine.GarbageCollectionSettings]
+gc.GarbageEliminationEnabled=False
+
+[Core.Log]
+; This can be used to change the default log level for engine logs to help with debugging
+;LogEOSSDK=VeryVerbose
+;LogEOSShared=VeryVerbose
+;LogHandshake=VeryVerbose
+LogHotfixManager=Log
+
+[/Script/Engine.Player]
+; These numbers should match TotalNetBandwidth
+ConfiguredInternetSpeed=200000
+ConfiguredLanSpeed=200000
+
+[/Script/OnlineSubsystemUtils.IpNetDriver]
+MaxClientRate=200000
+MaxInternetClientRate=200000
+
+[OnlineServices]
+DefaultServices=Null
+
+[/Script/Engine.AutomationTestSettings]
++MapsToPIETest=/Game/System/DefaultEditorMap/L_DefaultEditorOverview.L_DefaultEditorOverview
++MapsToPIETest=/Game/System/FrontEnd/Maps/L_LyraFrontEnd.L_LyraFrontEnd
++MapsToPIETest=/ShooterMaps/Maps/L_Expanse.L_Expanse
+
+[/Script/Engine.RendererSettings]
+r.SkinCache.CompileShaders=True
+r.DefaultFeature.AutoExposure.ExtendDefaultLuminanceRange=True
+r.VirtualTextures=True
+r.VirtualTexturedLightmaps=False
+r.SupportMaterialLayers=True
+r.GPUSkin.Support16BitBoneIndex=True
+r.CustomDepth=3
+r.GenerateMeshDistanceFields=True
+r.AllowStaticLighting=False
+r.ClearCoatNormal=True
+r.Shadow.Virtual.Enable=1
+r.AntiAliasingMethod=4
+r.DefaultFeature.MotionBlur=True
+r.SupportSkyAtmosphereAffectsHeightFog=True
+r.ReflectionMethod=1
+r.DynamicGlobalIlluminationMethod=1
+r.NumBufferedOcclusionQueries=2
+r.InstanceCulling.OcclusionCull=0
+r.Lumen.TranslucencyReflections.Enable=1
+r.ReflectionCaptureResolution=256
+r.RayTracing=True
+r.Lumen.HardwareRayTracing=True
+r.RayTracing.Shadows=False
+r.RayTracing.Skylight=False
+r.GPUScene.ParallelUpdate=1
+r.GPUSkin.Support16BitBoneIndex=True
+r.GPUSkin.UnlimitedBoneInfluences=True
+r.SkinCache.DefaultBehavior=0
+r.Mobile.EnableStaticAndCSMShadowReceivers=False
+r.Mobile.FloatPrecisionMode=2
+r.Mobile.AllowDistanceFieldShadows=False
+r.Mobile.DisableVertexFog=True
+r.Mobile.AmbientOcclusion=False
+r.MeshStreaming=True
+
+r.RayTracing.Geometry.NiagaraMeshes=0
+r.RayTracing.Geometry.NiagaraRibbons=0
+r.RayTracing.Geometry.NiagaraSprites=0
+
+[/Script/HardwareTargeting.HardwareTargetingSettings]
+TargetedHardwareClass=Desktop
+AppliedTargetedHardwareClass=Desktop
+DefaultGraphicsPerformance=Maximum
+AppliedDefaultGraphicsPerformance=Maximum
+
+[ConsoleVariables]
+net.MaxRPCPerNetUpdate=10
+net.PingExcludeFrameTime=1
+net.AllowAsyncLoading=1
+net.DelayUnmappedRPCs=1
+net.AllowPIESeamlessTravel=1
+a.EnableQueuedAnimEventsOnServer=1
+gpad.DefaultLeftStickInnerDeadZone=0.24
+gpad.DefaultRightStickInnerDeadZone=0.27
+demo.RecordHz=60.0
+demo.RecordHzWhenNotRelevant=10.0
+tick.AllowBatchedTicks=1
+ini.UseNewDynamicLayers=1
+
+[/Script/MacTargetPlatform.XcodeProjectSettings]
+bUseModernXcode=true
+bUseSwiftUIMain=false
+
+[SystemSettings]
+net.SubObjects.DefaultUseSubObjectReplicationList=1
+
+[/Script/Engine.CollisionProfile]
+-Profiles=(Name="NoCollision",CollisionEnabled=NoCollision,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="No collision",bCanModify=False)
+-Profiles=(Name="BlockAll",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldStatic",CustomResponses=,HelpMessage="WorldStatic object that blocks all actors by default. All new custom channels will use its own default response. ",bCanModify=False)
+-Profiles=(Name="OverlapAll",CollisionEnabled=QueryOnly,ObjectTypeName="WorldStatic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ",bCanModify=False)
+-Profiles=(Name="BlockAllDynamic",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldDynamic",CustomResponses=,HelpMessage="WorldDynamic object that blocks all actors by default. All new custom channels will use its own default response. ",bCanModify=False)
+-Profiles=(Name="OverlapAllDynamic",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that overlaps all actors by default. All new custom channels will use its own default response. ",bCanModify=False)
+-Profiles=(Name="IgnoreOnlyPawn",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that ignores Pawn and Vehicle. All other channels will be set to default.",bCanModify=False)
+-Profiles=(Name="OverlapOnlyPawn",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that overlaps Pawn, Camera, and Vehicle. All other channels will be set to default. ",bCanModify=False)
+-Profiles=(Name="Pawn",CollisionEnabled=QueryAndPhysics,ObjectTypeName="Pawn",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object. Can be used for capsule of any playerable character or AI. ",bCanModify=False)
+-Profiles=(Name="Spectator",CollisionEnabled=QueryOnly,ObjectTypeName="Pawn",CustomResponses=((Channel="WorldStatic",Response=ECR_Block),(Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore)),HelpMessage="Pawn object that ignores all other actors except WorldStatic.",bCanModify=False)
+-Profiles=(Name="CharacterMesh",CollisionEnabled=QueryOnly,ObjectTypeName="Pawn",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object that is used for Character Mesh. All other channels will be set to default.",bCanModify=False)
+-Profiles=(Name="PhysicsActor",CollisionEnabled=QueryAndPhysics,ObjectTypeName="PhysicsBody",CustomResponses=,HelpMessage="Simulating actors",bCanModify=False)
+-Profiles=(Name="Destructible",CollisionEnabled=QueryAndPhysics,ObjectTypeName="Destructible",CustomResponses=,HelpMessage="Destructible actors",bCanModify=False)
+-Profiles=(Name="InvisibleWall",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldStatic object that is invisible.",bCanModify=False)
+-Profiles=(Name="InvisibleWallDynamic",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that is invisible.",bCanModify=False)
+-Profiles=(Name="Trigger",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that is used for trigger. All other channels will be set to default.",bCanModify=False)
+-Profiles=(Name="Ragdoll",CollisionEnabled=QueryAndPhysics,ObjectTypeName="PhysicsBody",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Simulating Skeletal Mesh Component. All other channels will be set to default.",bCanModify=False)
+-Profiles=(Name="Vehicle",CollisionEnabled=QueryAndPhysics,ObjectTypeName="Vehicle",CustomResponses=,HelpMessage="Vehicle object that blocks Vehicle, WorldStatic, and WorldDynamic. All other channels will be set to default.",bCanModify=False)
+-Profiles=(Name="UI",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Block),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ",bCanModify=False)
++Profiles=(Name="NoCollision",CollisionEnabled=NoCollision,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="No collision")
++Profiles=(Name="BlockAll",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=,HelpMessage="WorldStatic object that blocks all actors by default. All new custom channels will use its own default response. ")
++Profiles=(Name="OverlapAll",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ")
++Profiles=(Name="BlockAllDynamic",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=,HelpMessage="WorldDynamic object that blocks all actors by default. All new custom channels will use its own default response. ")
++Profiles=(Name="OverlapAllDynamic",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that overlaps all actors by default. All new custom channels will use its own default response. ")
++Profiles=(Name="IgnoreOnlyPawn",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that ignores Pawn and Vehicle. All other channels will be set to default.")
++Profiles=(Name="OverlapOnlyPawn",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that overlaps Pawn, Camera, and Vehicle. All other channels will be set to default. ")
++Profiles=(Name="Pawn",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="Pawn",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object. Can be used for capsule of any playerable character or AI. ")
++Profiles=(Name="Spectator",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="Pawn",CustomResponses=((Channel="WorldStatic"),(Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore)),HelpMessage="Pawn object that ignores all other actors except WorldStatic.")
++Profiles=(Name="CharacterMesh",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="Pawn",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object that is used for Character Mesh. All other channels will be set to default.")
++Profiles=(Name="PhysicsActor",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="PhysicsBody",CustomResponses=,HelpMessage="Simulating actors")
++Profiles=(Name="Destructible",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="Destructible",CustomResponses=,HelpMessage="Destructible actors")
++Profiles=(Name="InvisibleWall",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldStatic object that is invisible.")
++Profiles=(Name="InvisibleWallDynamic",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that is invisible.")
++Profiles=(Name="Trigger",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that is used for trigger. All other channels will be set to default.")
++Profiles=(Name="Ragdoll",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="PhysicsBody",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Simulating Skeletal Mesh Component. All other channels will be set to default.")
++Profiles=(Name="Vehicle",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="Vehicle",CustomResponses=,HelpMessage="Vehicle object that blocks Vehicle, WorldStatic, and WorldDynamic. All other channels will be set to default.")
++Profiles=(Name="UI",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility"),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ")
++Profiles=(Name="WaterBodyCollision",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="",CustomResponses=((Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="Default Water Collision Profile (Created by Water Plugin)")
++Profiles=(Name="LyraPawnMesh",CollisionEnabled=QueryOnly,bCanModify=True,ObjectTypeName="Pawn",CustomResponses=((Channel="WorldStatic",Response=ECR_Ignore),(Channel="Pawn",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore),(Channel="Lyra_TraceChannel_Weapon_Multi",Response=ECR_Overlap),(Channel="Lyra_TraceChannel_Weapon")),HelpMessage="Collision with a Lyra character mesh")
++Profiles=(Name="LyraPawnCapsule",CollisionEnabled=QueryOnly,bCanModify=True,ObjectTypeName="Pawn",CustomResponses=((Channel="Camera",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore),(Channel="Lyra_TraceChannel_Weapon_Capsule"),(Channel="Lyra_TraceChannel_Weapon_Multi",Response=ECR_Overlap)),HelpMessage="Collision with a Lyra character capsule")
++Profiles=(Name="Interactable_OverlapDynamic",CollisionEnabled=QueryOnly,bCanModify=True,ObjectTypeName="PhysicsBody",CustomResponses=((Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore),(Channel="Lyra_TraceChannel_Interaction",Response=ECR_Overlap),(Channel="Lyra_TraceChannel_Weapon_Multi",Response=ECR_Ignore)),HelpMessage="")
++Profiles=(Name="Interactable_BlockDynamic",CollisionEnabled=QueryAndPhysics,bCanModify=True,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Lyra_TraceChannel_Interaction",Response=ECR_Overlap)),HelpMessage="")
++Profiles=(Name="AimAssist_OverlapDynamic",CollisionEnabled=QueryOnly,bCanModify=True,ObjectTypeName="PhysicsBody",CustomResponses=((Channel="WorldStatic",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Ignore),(Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore),(Channel="Lyra_TraceChannel_AimAssist",Response=ECR_Overlap)),HelpMessage="")
++DefaultChannelResponses=(Channel=ECC_GameTraceChannel1,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Lyra_TraceChannel_Interaction")
++DefaultChannelResponses=(Channel=ECC_GameTraceChannel2,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Lyra_TraceChannel_Weapon")
++DefaultChannelResponses=(Channel=ECC_GameTraceChannel3,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Lyra_TraceChannel_Weapon_Capsule")
++DefaultChannelResponses=(Channel=ECC_GameTraceChannel4,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Lyra_TraceChannel_Weapon_Multi")
++DefaultChannelResponses=(Channel=ECC_GameTraceChannel5,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Lyra_TraceChannel_AimAssist")
++EditProfiles=(Name="BlockAll",CustomResponses=((Channel="Lyra_TraceChannel_Interaction"),(Channel="Lyra_TraceChannel_Weapon"),(Channel="Lyra_TraceChannel_Weapon_Capsule"),(Channel="Lyra_TraceChannel_Weapon_Multi")))
++EditProfiles=(Name="BlockAllDynamic",CustomResponses=((Channel="Lyra_TraceChannel_Interaction"),(Channel="Lyra_TraceChannel_Weapon"),(Channel="Lyra_TraceChannel_Weapon_Capsule"),(Channel="Lyra_TraceChannel_Weapon_Multi")))
++EditProfiles=(Name="InvisibleWall",CustomResponses=((Channel="Lyra_TraceChannel_Interaction"),(Channel="Lyra_TraceChannel_Weapon"),(Channel="Lyra_TraceChannel_Weapon_Capsule"),(Channel="Lyra_TraceChannel_Weapon_Multi")))
++EditProfiles=(Name="InvisibleWallDynamic",CustomResponses=((Channel="Lyra_TraceChannel_Interaction"),(Channel="Lyra_TraceChannel_Weapon"),(Channel="Lyra_TraceChannel_Weapon_Capsule"),(Channel="Lyra_TraceChannel_Weapon_Multi")))
+-ProfileRedirects=(OldName="BlockingVolume",NewName="InvisibleWall")
+-ProfileRedirects=(OldName="InterpActor",NewName="IgnoreOnlyPawn")
+-ProfileRedirects=(OldName="StaticMeshComponent",NewName="BlockAllDynamic")
+-ProfileRedirects=(OldName="SkeletalMeshActor",NewName="PhysicsActor")
+-ProfileRedirects=(OldName="InvisibleActor",NewName="InvisibleWallDynamic")
++ProfileRedirects=(OldName="BlockingVolume",NewName="InvisibleWall")
++ProfileRedirects=(OldName="InterpActor",NewName="IgnoreOnlyPawn")
++ProfileRedirects=(OldName="StaticMeshComponent",NewName="BlockAllDynamic")
++ProfileRedirects=(OldName="SkeletalMeshActor",NewName="PhysicsActor")
++ProfileRedirects=(OldName="InvisibleActor",NewName="InvisibleWallDynamic")
+-CollisionChannelRedirects=(OldName="Static",NewName="WorldStatic")
+-CollisionChannelRedirects=(OldName="Dynamic",NewName="WorldDynamic")
+-CollisionChannelRedirects=(OldName="VehicleMovement",NewName="Vehicle")
+-CollisionChannelRedirects=(OldName="PawnMovement",NewName="Pawn")
++CollisionChannelRedirects=(OldName="Static",NewName="WorldStatic")
++CollisionChannelRedirects=(OldName="Dynamic",NewName="WorldDynamic")
++CollisionChannelRedirects=(OldName="VehicleMovement",NewName="Vehicle")
++CollisionChannelRedirects=(OldName="PawnMovement",NewName="Pawn")
+
+[/Script/Engine.UserInterfaceSettings]
+RenderFocusRule=Never
+HardwareCursors=()
+SoftwareCursors=((Default, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(TextEditBeam, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(ResizeLeftRight, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(ResizeUpDown, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(ResizeSouthEast, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(ResizeSouthWest, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(CardinalCross, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(Crosshairs, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(Hand, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(GrabHand, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(GrabHandClosed, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(SlashedCircle, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(EyeDropper, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"))
+ApplicationScale=1.000000
+UIScaleRule=ScaleToFit
+CustomScalingRuleClass=None
+UIScaleCurve=(EditorCurveData=(Keys=((Time=480.000000,Value=0.444000),(Time=720.000000,Value=0.666000),(Time=1080.000000,Value=1.000000),(Time=8640.000000,Value=8.000000)),DefaultValue=340282346638528859811704183484516925440.000000,PreInfinityExtrap=RCCE_Constant,PostInfinityExtrap=RCCE_Constant),ExternalCurve=None)
+bAllowHighDPIInGameMode=False
+DesignScreenSize=(X=1920,Y=1080)
+bLoadWidgetsOnDedicatedServer=True
+
+[/Script/Engine.AudioSettings]
+DefaultSoundClassName=/Game/Audio/Classes/Overall.Overall
+DefaultMediaSoundClassName=/Game/Audio/Classes/RenderedCinematics.RenderedCinematics
+DefaultSoundConcurrencyName=/Game/Audio/Concurrency/SCon_Default.SCon_Default
+DefaultBaseSoundMix=None
+VoiPSoundClass=/Game/Audio/Classes/VoiceChat.VoiceChat
+MasterSubmix=/Game/Audio/Submixes/MainSubmix.MainSubmix
+BaseDefaultSubmix=None
+ReverbSubmix=/Engine/EngineSounds/Submixes/MasterReverbSubmixDefault.MasterReverbSubmixDefault
+EQSubmix=/Engine/EngineSounds/Submixes/MasterEQSubmixDefault.MasterEQSubmixDefault
+VoiPSampleRate=Low16000Hz
+MaximumConcurrentStreams=2
+GlobalMinPitchScale=0.250000
+GlobalMaxPitchScale=4.000000
++QualityLevels=(DisplayName=NSLOCTEXT("AudioSettings", "DefaultSettingsName", "Default"),MaxChannels=64)
+bAllowPlayWhenSilent=True
+bDisableMasterEQ=True
+bAllowCenterChannel3DPanning=False
+NumStoppingSources=8
+PanningMethod=EqualPower
+MonoChannelUpmixMethod=EqualPower
+DialogueFilenameFormat="{DialogueGuid}_{ContextId}"
+
+[/Script/LuminRuntimeSettings.LuminRuntimeSettings]
+IconModelPath=(Path="")
+IconPortalPath=(Path="")
+
+[/Script/Engine.TextureEncodingProjectSettings]
+bFinalUsesRDO=True
+bSharedLinearTextureEncoding=True
+
+[EnumRemap]
+; Entries can be added to this section of DefaultEngine.ini to remap metadata for engine enums to game-specific display values
+TEXTUREGROUP_Project01.DisplayName="UI With MIPs"
+
+[/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]
+bPackageDataInsideApk=True
+bSupportsVulkan=True
+bEnableMulticastSupport=True
+bSaveSymbols=True
+
+[/Script/Engine.EditorStreamingSettings]
+s.ZenLoaderEnabled=True
+
+[/Script/Engine.LocalPlayer]
+AspectRatioAxisConstraint=AspectRatio_MaintainYFOV
+
+[/Script/SignificanceManager.SignificanceManager]
+SignificanceManagerClassName=/Script/LyraGame.LyraSignificanceManager
+
+[/Script/WindowsTargetPlatform.WindowsTargetSettings]
+DefaultGraphicsRHI=DefaultGraphicsRHI_DX12
+-D3D12TargetedShaderFormats=PCD3D_SM5
++D3D12TargetedShaderFormats=PCD3D_SM6
+-D3D11TargetedShaderFormats=PCD3D_SM5
++D3D11TargetedShaderFormats=PCD3D_SM5
++VulkanTargetedShaderFormats=SF_VULKAN_SM6
+Compiler=Default
+AudioSampleRate=48000
+AudioCallbackBufferFrameSize=256
+AudioNumBuffersToEnqueue=7
+AudioMaxChannels=0
+AudioNumSourceWorkers=4
+SpatializationPlugin=Simple ITD
+SourceDataOverridePlugin=
+ReverbPlugin=Built-in Reverb
+OcclusionPlugin=Built-in Occlusion
+CompressionOverrides=(bOverrideCompressionTimes=False,DurationThreshold=5.000000,MaxNumRandomBranches=0,SoundCueQualityIndex=0)
+CacheSizeKB=65536
+MaxChunkSizeOverrideKB=0
+bResampleForDevice=False
+MaxSampleRate=48000.000000
+HighSampleRate=32000.000000
+MedSampleRate=24000.000000
+LowSampleRate=12000.000000
+MinSampleRate=8000.000000
+CompressionQualityModifier=1.000000
+AutoStreamingThreshold=0.000000
+SoundCueCookQualityIndex=-1
+
+[/Script/Engine.PhysicsSettings]
+PhysicErrorCorrection=(PingExtrapolation=0.100000,PingLimit=100.000000,ErrorPerLinearDifference=1.000000,ErrorPerAngularDifference=1.000000,MaxRestoredStateError=1.000000,MaxLinearHardSnapDistance=400.000000,PositionLerp=0.000000,AngleLerp=0.400000,LinearVelocityCoefficient=100.000000,AngularVelocityCoefficient=10.000000,ErrorAccumulationSeconds=0.500000,ErrorAccumulationDistanceSq=15.000000,ErrorAccumulationSimilarity=100.000000)
+DefaultDegreesOfFreedom=Full3D
+bSuppressFaceRemapTable=False
+bSupportUVFromHitResults=False
+bDisableActiveActors=False
+bDisableKinematicStaticPairs=False
+bDisableKinematicKinematicPairs=False
+bDisableCCD=False
+bEnableEnhancedDeterminism=False
+AnimPhysicsMinDeltaTime=0.000000
+bSimulateAnimPhysicsAfterReset=False
+MinPhysicsDeltaTime=0.000000
+MaxPhysicsDeltaTime=0.033333
+bSubstepping=False
+bSubsteppingAsync=False
+bTickPhysicsAsync=False
+AsyncFixedTimeStepSize=0.033333
+MaxSubstepDeltaTime=0.016667
+MaxSubsteps=6
+SyncSceneSmoothingFactor=0.000000
+InitialAverageFrameRate=0.016667
+PhysXTreeRebuildRate=10
++PhysicalSurfaces=(Type=SurfaceType1,Name="Character")
++PhysicalSurfaces=(Type=SurfaceType2,Name="Concrete")
++PhysicalSurfaces=(Type=SurfaceType3,Name="Glass")
+DefaultBroadphaseSettings=(bUseMBPOnClient=False,bUseMBPOnServer=False,bUseMBPOuterBounds=False,MBPBounds=(Min=(X=0.000000,Y=0.000000,Z=0.000000),Max=(X=0.000000,Y=0.000000,Z=0.000000),IsValid=0),MBPOuterBounds=(Min=(X=0.000000,Y=0.000000,Z=0.000000),Max=(X=0.000000,Y=0.000000,Z=0.000000),IsValid=0),MBPNumSubdivs=2)
+MinDeltaVelocityForHitEvents=0.000000
+ChaosSettings=(DefaultThreadingModel=TaskGraph,DedicatedThreadTickMode=VariableCappedWithTarget,DedicatedThreadBufferMode=Double)
+
+[ForwardShadingQuality_SF_VULKAN_SM5_ANDROID ShaderPlatformQualitySettings]
+QualityOverrides[0]=(bDiscardQualityDuringCook=False,bEnableOverride=False,bForceFullyRough=False,bForceNonMetal=False,bForceDisableLMDirectionality=False,bForceLQReflections=False,bForceDisablePreintegratedGF=False,bDisableMaterialNormalCalculation=False,MobileShadowQuality=PCF_3x3)
+QualityOverrides[1]=(bDiscardQualityDuringCook=False,bEnableOverride=True,bForceFullyRough=False,bForceNonMetal=False,bForceDisableLMDirectionality=False,bForceLQReflections=False,bForceDisablePreintegratedGF=False,bDisableMaterialNormalCalculation=False,MobileShadowQuality=PCF_3x3)
+QualityOverrides[2]=(bDiscardQualityDuringCook=False,bEnableOverride=True,bForceFullyRough=False,bForceNonMetal=False,bForceDisableLMDirectionality=False,bForceLQReflections=False,bForceDisablePreintegratedGF=False,bDisableMaterialNormalCalculation=False,MobileShadowQuality=PCF_3x3)
+QualityOverrides[3]=(bDiscardQualityDuringCook=False,bEnableOverride=False,bForceFullyRough=False,bForceNonMetal=False,bForceDisableLMDirectionality=False,bForceLQReflections=False,bForceDisablePreintegratedGF=False,bDisableMaterialNormalCalculation=False,MobileShadowQuality=PCF_3x3)
+
+[Internationalization]
++LocalizationPaths=%GAMEDIR%Content/Localization/EngineOverrides
+
+[CrashReportClient]
+bAgreeToCrashUpload=true
+
+[/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings]
+bEnablePlugin=True
+bAllowNetworkConnection=True
+SecurityToken=1E34FAD14FB6811576827AA0EEB85D69
+bIncludeInShipping=False
+bAllowExternalStartInShipping=False
+bCompileAFSProject=False
+bUseCompression=False
+bLogFiles=False
+bReportStats=False
+ConnectionType=USBOnly
+bUseManualIPAddress=False
+ManualIPAddress=
+
+[/Script/LinuxTargetPlatform.LinuxTargetSettings]
+SpatializationPlugin=
+SourceDataOverridePlugin=
+ReverbPlugin=
+OcclusionPlugin=
+SoundCueCookQualityIndex=-1
+-TargetedRHIs=SF_VULKAN_SM5
++TargetedRHIs=SF_VULKAN_SM6
+
+[/Script/CommonUser.CommonSessionSubsystem]
+; This tells it to use player hosted lobbies, if you want to use sessions instead which may be required for dedicated server hosting set it to false
+bUseLobbiesDefault=true
+bUseLobbiesVoiceChatDefault=true
+
+[/Script/AutomationController.AutomationControllerSettings]
+bSuppressLogWarnings=true
+bElevateLogWarningsToErrors=false
++Groups=(Name="Project", Filters=((Contains="Project.", MatchFromStart=true, Exclude=((Contains="Project.Maps.Cycle", MatchFromStart=true)))))
+
+[AutomationTestExcludelist]
++ExcludeTest=(Map="",Test="Project.Maps.Cycle",Reason="Disabling as this test will warn about an active GameplayCue that is tied to the player. The test finishes before the player can fully spawn into the map.",RHIs=(),Warn=False)
+
+[/Script/OnlineSubsystemUtils.PartyBeaconHost]
+bIsValidationStrRequired = false
+
+[CsvProfiler]
++EnabledCategories=LyraPerformance
+
+[/Script/AutomatedPerfTesting.AutomatedReplayPerfTestProjectSettings]
++ReplaysToTest=(FilePath="Build/Replays/LyraSample.replay")
+CSVOutputMode=Separate
+
+
diff --git a/LyraStarterGame/Config/DefaultGame.ini b/LyraStarterGame/Config/DefaultGame.ini
new file mode 100644
index 0000000000000000000000000000000000000000..96136614880f7e872e00c876cef8a17b3c59c9fc
--- /dev/null
+++ b/LyraStarterGame/Config/DefaultGame.ini
@@ -0,0 +1,246 @@
+; Config file for config variables tied to gameplay
+
+[/Script/EngineSettings.GeneralProjectSettings]
+ProjectID=0537642E459369628A8717AB63363CBF
+Description=Sample starter game for Unreal Engine 5
+ProjectName=Lyra
+
+[/Script/LyraGame.LyraPlayerController]
+InputYawScale=1.0
+InputPitchScale=1.0
+InputRollScale=1.0
+ForceFeedbackScale=1.0
+
+[/Script/GameplayAbilities.AbilitySystemGlobals]
+AbilitySystemGlobalsClassName=/Script/LyraGame.LyraAbilitySystemGlobals
+bUseDebugTargetFromHud=True
+GlobalAttributeMetaDataTableName=None
+GlobalGameplayCueManagerClass=/Script/LyraGame.LyraGameplayCueManager
+GlobalGameplayCueManagerName=None
++GameplayCueNotifyPaths=/Game/GameplayCueNotifies
++GameplayCueNotifyPaths=/Game/GameplayCues
+GlobalCurveTableName=None
+PredictTargetGameplayEffects=False
+ReplicateActivationOwnedTags=True
+ActivateFailCooldownTag=(TagName="Ability.ActivateFail.Cooldown")
+ActivateFailCostTag=(TagName="Ability.ActivateFail.Cost")
+ActivateFailNetworkingTag=(TagName="Ability.ActivateFail.Networking")
+ActivateFailTagsBlockedTag=(TagName="Ability.ActivateFail.TagsBlocked")
+ActivateFailTagsMissingTag=(TagName="Ability.ActivateFail.TagsMissing")
+GameplayTagResponseTableName=None
+bAllowGameplayModEvaluationChannels=False
+DefaultGameplayModEvaluationChannel=Channel0
+GameplayModEvaluationChannelAliases[0]=None
+GameplayModEvaluationChannelAliases[1]=None
+GameplayModEvaluationChannelAliases[2]=None
+GameplayModEvaluationChannelAliases[3]=None
+GameplayModEvaluationChannelAliases[4]=None
+GameplayModEvaluationChannelAliases[5]=None
+GameplayModEvaluationChannelAliases[6]=None
+GameplayModEvaluationChannelAliases[7]=None
+GameplayModEvaluationChannelAliases[8]=None
+GameplayModEvaluationChannelAliases[9]=None
+MinimalReplicationTagCountBits=5
+
+[/Script/Engine.GameNetworkManager]
+; Increase from the base bandwidth, numbers need to match ConfiguredInternetSpeed in DefaultEngine
+TotalNetBandwidth=200000
+MaxDynamicBandwidth=40000
+MinDynamicBandwidth=20000
+
+[/Script/GameFeatures.GameFeaturesSubsystemSettings]
+GameFeaturesManagerClassName=/Script/LyraGame.LyraGameFeaturePolicy
+
+[/Script/LyraGame.LyraAssetManager]
+LyraGameDataPath=/Game/DefaultGameData.DefaultGameData
+DefaultPawnData=/Game/Characters/Heroes/EmptyPawnData/DefaultPawnData_EmptyPawn.DefaultPawnData_EmptyPawn
+
+[/Script/Engine.AssetManagerSettings]
+-PrimaryAssetTypesToScan=(PrimaryAssetType="Map",AssetBaseClass=/Script/Engine.World,bHasBlueprintClasses=False,bIsEditorOnly=True,Directories=((Path="/Game/Maps")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=Unknown))
+-PrimaryAssetTypesToScan=(PrimaryAssetType="PrimaryAssetLabel",AssetBaseClass=/Script/Engine.PrimaryAssetLabel,bHasBlueprintClasses=False,bIsEditorOnly=True,Directories=((Path="/Game")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=Unknown))
++PrimaryAssetTypesToScan=(PrimaryAssetType="Map",AssetBaseClass="/Script/Engine.World",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=((Path="/Game/Maps")),SpecificAssets=("/Game/System/FrontEnd/Maps/L_LyraFrontEnd.L_LyraFrontEnd", "/Game/System/DefaultEditorMap/L_DefaultEditorOverview.L_DefaultEditorOverview"),Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
++PrimaryAssetTypesToScan=(PrimaryAssetType="LyraGameData",AssetBaseClass="/Script/LyraGame.LyraGameData",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=,SpecificAssets=("/Game/DefaultGameData.DefaultGameData"),Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
++PrimaryAssetTypesToScan=(PrimaryAssetType="PrimaryAssetLabel",AssetBaseClass="/Script/Engine.PrimaryAssetLabel",bHasBlueprintClasses=False,bIsEditorOnly=True,Directories=((Path="/Game")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=Unknown))
++PrimaryAssetTypesToScan=(PrimaryAssetType="GameFeatureData",AssetBaseClass="/Script/GameFeatures.GameFeatureData",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=((Path="/Game/Unused")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
++PrimaryAssetTypesToScan=(PrimaryAssetType="LyraExperienceDefinition",AssetBaseClass="/Script/LyraGame.LyraExperienceDefinition",bHasBlueprintClasses=True,bIsEditorOnly=False,Directories=((Path="/Game/System/Experiences")),SpecificAssets=("/Game/System/FrontEnd/B_LyraFrontEnd_Experience.B_LyraFrontEnd_Experience"),Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
++PrimaryAssetTypesToScan=(PrimaryAssetType="LyraUserFacingExperienceDefinition",AssetBaseClass="/Script/LyraGame.LyraUserFacingExperienceDefinition",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=((Path="/Game/UI/Temp"),(Path="/Game/System/Playlists")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
++PrimaryAssetTypesToScan=(PrimaryAssetType="LyraLobbyBackground",AssetBaseClass="/Script/LyraGame.LyraLobbyBackground",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=,SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
++PrimaryAssetTypesToScan=(PrimaryAssetType="LyraExperienceActionSet",AssetBaseClass="/Script/LyraGame.LyraExperienceActionSet",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=,SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
+bOnlyCookProductionAssets=False
+bShouldManagerDetermineTypeAndName=False
+bShouldGuessTypeAndNameInEditor=True
+bShouldAcquireMissingChunksOnLoad=False
+bShouldWarnAboutInvalidAssets=True
+MetaDataTagsForAssetRegistry=()
+
+[/Script/LyraGame.LyraUIManagerSubsystem]
+DefaultUIPolicyClass=/Game/UI/B_LyraUIPolicy.B_LyraUIPolicy_C
+
+[/Script/LyraGame.LyraUIMessaging]
+ConfirmationDialogClass=/Game/UI/Foundation/Dialogs/W_ConfirmationDefault.W_ConfirmationDefault_C
+ErrorDialogClass=/Game/UI/Foundation/Dialogs/W_ConfirmationError.W_ConfirmationError_C
+
+[/Script/CommonLoadingScreen.CommonLoadingScreenSettings]
+LoadingScreenWidget=/Game/UI/Foundation/LoadingScreen/W_LoadingScreen_Host.W_LoadingScreen_Host_C
+ForceTickLoadingScreenEvenInEditor=False
+
+[/Script/CommonInput.CommonInputSettings]
+InputData=/Game/UI/B_CommonInputData.B_CommonInputData_C
+bEnableInputMethodThrashingProtection=True
+InputMethodThrashingLimit=30
+InputMethodThrashingWindowInSeconds=3.000000
+InputMethodThrashingCooldownInSeconds=1.000000
+bAllowOutOfFocusDeviceInput=True
+
+[/Script/CommonUI.CommonUISettings]
+DefaultThrobberMaterial=/Game/UI/Foundation/Materials/M_UI_Throbber_Base.M_UI_Throbber_Base
+DefaultRichTextDataClass=/Game/UI/Foundation/RichTextData/CommonUIRichTextData.CommonUIRichTextData_C
+
+[/Script/UnrealEd.ProjectPackagingSettings]
+Build=IfProjectHasCode
+BuildConfiguration=PPBC_Development
+BuildTarget=LyraGame
+LaunchOnTarget=
+StagingDirectory=(Path="")
+FullRebuild=False
+ForDistribution=False
+IncludeDebugFiles=False
+BlueprintNativizationMethod=Disabled
+bIncludeNativizedAssetsInProjectGeneration=False
+bExcludeMonolithicEngineHeadersInNativizedCode=False
+UsePakFile=True
+bMakeBinaryConfig=False
+bGenerateChunks=true
+bGenerateNoChunks=False
+bChunkHardReferencesOnly=False
+bForceOneChunkPerFile=False
+MaxChunkSize=0
+bBuildHttpChunkInstallData=False
+HttpChunkInstallDataDirectory=(Path="")
+bCompressed=True
+PackageCompressionFormat=Oodle
+bForceUseProjectCompressionFormatIgnoreHardwareOverride=False
+PackageAdditionalCompressionOptions=
+PackageCompressionMethod=Kraken
+PackageCompressionLevel_DebugDevelopment=4
+PackageCompressionLevel_TestShipping=5
+PackageCompressionLevel_Distribution=7
+PackageCompressionMinBytesSaved=1024
+PackageCompressionMinPercentSaved=5
+bPackageCompressionEnableDDC=False
+PackageCompressionMinSizeToConsiderDDC=0
+HttpChunkInstallDataVersion=
+IncludePrerequisites=True
+IncludeAppLocalPrerequisites=False
+bShareMaterialShaderCode=True
+bDeterministicShaderCodeOrder=False
+bSharedMaterialNativeLibraries=True
+ApplocalPrerequisitesDirectory=(Path="")
+IncludeCrashReporter=False
+InternationalizationPreset=All
+-CulturesToStage=en
++CulturesToStage=en
++CulturesToStage=ar
++CulturesToStage=es
++CulturesToStage=es-419
++CulturesToStage=fr
++CulturesToStage=it
++CulturesToStage=ja
++CulturesToStage=pl
++CulturesToStage=pt-BR
++CulturesToStage=ru
++CulturesToStage=tr
++CulturesToStage=zh-Hans
++CulturesToStage=ko
++CulturesToStage=de
+LocalizationTargetCatchAllChunkId=0
+bCookAll=False
+bCookMapsOnly=False
+bSkipEditorContent=False
+bSkipMovies=False
+-IniKeyDenylist=KeyStorePassword
+-IniKeyDenylist=KeyPassword
+-IniKeyDenylist=rsa.privateexp
+-IniKeyDenylist=rsa.modulus
+-IniKeyDenylist=rsa.publicexp
+-IniKeyDenylist=aes.key
+-IniKeyDenylist=SigningPublicExponent
+-IniKeyDenylist=SigningModulus
+-IniKeyDenylist=SigningPrivateExponent
+-IniKeyDenylist=EncryptionKey
+-IniKeyDenylist=DevCenterUsername
+-IniKeyDenylist=DevCenterPassword
+-IniKeyDenylist=IOSTeamID
+-IniKeyDenylist=SigningCertificate
+-IniKeyDenylist=MobileProvision
+-IniKeyDenylist=IniKeyDenylist
+-IniKeyDenylist=IniSectionDenylist
++IniKeyDenylist=KeyStorePassword
++IniKeyDenylist=KeyPassword
++IniKeyDenylist=rsa.privateexp
++IniKeyDenylist=rsa.modulus
++IniKeyDenylist=rsa.publicexp
++IniKeyDenylist=aes.key
++IniKeyDenylist=SigningPublicExponent
++IniKeyDenylist=SigningModulus
++IniKeyDenylist=SigningPrivateExponent
++IniKeyDenylist=EncryptionKey
++IniKeyDenylist=DevCenterUsername
++IniKeyDenylist=DevCenterPassword
++IniKeyDenylist=IOSTeamID
++IniKeyDenylist=SigningCertificate
++IniKeyDenylist=MobileProvision
++IniKeyDenylist=IniKeyDenylist
++IniKeyDenylist=IniSectionDenylist
+-IniSectionDenylist=StorageServers
++IniSectionDenylist=StorageServers
++MapsToCook=(FilePath="/Game/System/FrontEnd/Maps/L_LyraFrontEnd")
++DirectoriesToAlwaysStageAsNonUFS=(Path="Legal")
++DirectoriesToAlwaysStageAsNonUFS=(Path="UI/Foundation/Fonts/Orbitron/Raw")
++DirectoriesToAlwaysStageAsNonUFS=(Path="DTLS")
+PerPlatformBuildConfig=()
+PerPlatformTargetFlavorName=()
+PerPlatformBuildTarget=()
+WriteBackMetadataToAssetRegistry=OriginalFile
+
+
+[CheatScript.DebugAsyncLoading]
+; Running CheatScript DebugAsyncLoading would execute these commands
++Cmd="Log LogAsyncMixin VeryVerbose"
++Cmd="Log LogAssetManager VeryVerbose"
++Cmd="Log LogStreaming VeryVerbose"
+
+[CheatScript.DebugUI]
++Cmd="Log LogSlate VeryVerbose"
++Cmd="Log LogUMG VeryVerbose"
++Cmd="Log LogCommonUI VeryVerbose"
++Cmd="Log LogCommonInput VeryVerbose"
++Cmd="Log LogUIActionRouter VeryVerbose"
++Cmd="SlateDebugger.Start"
+
+[/Script/LyraGame.LyraContextEffectsSettings]
+SurfaceTypeToContextMap=((SurfaceType3, (TagName="SurfaceType.Glass")),(SurfaceType2, (TagName="SurfaceType.Concrete")),(SurfaceType1, (TagName="SurfaceType.Character")),(SurfaceType_Default, (TagName="SurfaceType.Default")))
+
+[/Script/ShooterCoreRuntime.ShooterCoreRuntimeSettings]
+AimAssistCollisionChannel=ECC_GameTraceChannel5
+
+[/Script/LyraGame.LyraAudioSettings]
+DefaultControlBusMix=/Game/Audio/Modulation/ControlBusMixes/CBM_BaseMix.CBM_BaseMix
+UserSettingsControlBusMix=/Game/Audio/Modulation/ControlBusMixes/CBM_UserMix.CBM_UserMix
+OverallVolumeControlBus=/Game/Audio/Modulation/ControlBuses/CB_Main.CB_Main
+MusicVolumeControlBus=/Game/Audio/Modulation/ControlBuses/CB_Music.CB_Music
+SoundFXVolumeControlBus=/Game/Audio/Modulation/ControlBuses/CB_SFX.CB_SFX
+DialogueVolumeControlBus=/Game/Audio/Modulation/ControlBuses/CB_Dialogue.CB_Dialogue
+VoiceChatVolumeControlBus=/Game/Audio/Modulation/ControlBuses/CB_VoiceChat.CB_VoiceChat
++HDRAudioSubmixEffectChain=(Submix="/Game/Audio/Submixes/MainSubmix.MainSubmix",SubmixEffectChain=("/Game/Audio/Effects/SubmixEffects/DYN_MainDynamics.DYN_MainDynamics"))
++LDRAudioSubmixEffectChain=(Submix="/Game/Audio/Submixes/MainSubmix.MainSubmix",SubmixEffectChain=("/Game/Audio/DYN_LowMultibandDynamics.DYN_LowMultibandDynamics","/Game/Audio/Effects/SubmixEffects/DYN_LowDynamics.DYN_LowDynamics"))
+LoadingScreenControlBusMix=/Game/Audio/Modulation/ControlBusMixes/CBM_LoadingScreenMix.CBM_LoadingScreenMix
+
+[/Script/LyraGame.LyraReplicationGraphSettings]
+bDisableReplicationGraph=True
+DefaultReplicationGraphClass=/Script/LyraGame.LyraReplicationGraph
++ClassSettings=(ActorClass="/Script/Engine.PlayerState",bAddClassRepInfoToMap=True,ClassNodeMapping=NotRouted,bAddToRPC_Multicast_OpenChannelForClassMap=False,bRPC_Multicast_OpenChannelForClass=True)
++ClassSettings=(ActorClass="/Script/Engine.LevelScriptActor",bAddClassRepInfoToMap=True,ClassNodeMapping=NotRouted,bAddToRPC_Multicast_OpenChannelForClassMap=False,bRPC_Multicast_OpenChannelForClass=True)
++ClassSettings=(ActorClass="/Script/ReplicationGraph.ReplicationGraphDebugActor",bAddClassRepInfoToMap=True,ClassNodeMapping=NotRouted,bAddToRPC_Multicast_OpenChannelForClassMap=False,bRPC_Multicast_OpenChannelForClass=True)
++ClassSettings=(ActorClass="/Script/LyraGame.LyraPlayerController",bAddClassRepInfoToMap=True,ClassNodeMapping=NotRouted,bAddToRPC_Multicast_OpenChannelForClassMap=False,bRPC_Multicast_OpenChannelForClass=True)
+
diff --git a/LyraStarterGame/Config/DefaultGameplayTags.ini b/LyraStarterGame/Config/DefaultGameplayTags.ini
new file mode 100644
index 0000000000000000000000000000000000000000..4f38e963cb8713292f0cd174ed21899481a3a759
--- /dev/null
+++ b/LyraStarterGame/Config/DefaultGameplayTags.ini
@@ -0,0 +1,109 @@
+[/Script/GameplayTags.GameplayTagsSettings]
+ImportTagsFromConfig=True
+WarnOnInvalidTags=True
+FastReplication=True
+InvalidTagCharacters="\"\',"
++GameplayTagTableList=/Game/ContextEffects/DT_AnimEffectTags.DT_AnimEffectTags
++GameplayTagTableList=/Game/ContextEffects/DT_SurfaceTypes.DT_SurfaceTypes
+NumBitsForContainerSize=6
+NetIndexFirstBitSegment=16
++GameplayTagList=(Tag="Ability.Dash.Duration.Message",DevComment="Dash Cooldown Duration")
++GameplayTagList=(Tag="Ability.Grenade.Duration.Message",DevComment="Cooldown Grenade")
++GameplayTagList=(Tag="Ability.Interaction.Activate",DevComment="")
++GameplayTagList=(Tag="Ability.Respawn.Completed.Message",DevComment="Message tag broadcast when a respawn process is completed.")
++GameplayTagList=(Tag="Ability.Respawn.Duration.Message",DevComment="")
++GameplayTagList=(Tag="Ability.Type",DevComment="Applied to Gameplay Abilities to indicate a functional category")
++GameplayTagList=(Tag="Ability.Type.Action",DevComment="Action type abilities cause the avatar to perform an action in the game world, possibly involving equipment such as a weapon")
++GameplayTagList=(Tag="Ability.Type.Action.ADS",DevComment="")
++GameplayTagList=(Tag="Ability.Type.Action.Dash",DevComment="")
++GameplayTagList=(Tag="Ability.Type.Action.Drop",DevComment="")
++GameplayTagList=(Tag="Ability.Type.Action.Emote",DevComment="")
++GameplayTagList=(Tag="Ability.Type.Action.Grenade",DevComment="")
++GameplayTagList=(Tag="Ability.Type.Action.Jump",DevComment="")
++GameplayTagList=(Tag="Ability.Type.Action.Melee",DevComment="")
++GameplayTagList=(Tag="Ability.Type.Action.Reload",DevComment="")
++GameplayTagList=(Tag="Ability.Type.Action.WeaponFire",DevComment="")
++GameplayTagList=(Tag="Ability.Type.Info",DevComment="Info abilities are used to summon information for the players, and do not directly affect gameplay")
++GameplayTagList=(Tag="Ability.Type.Info.ShowLeaderboard",DevComment="")
++GameplayTagList=(Tag="Ability.Type.Passive",DevComment="Passive abilities are always active on the owner")
++GameplayTagList=(Tag="Ability.Type.Passive.AutoReload",DevComment="Polls for active weapon to be empty, triggers reload input if enough time has elapsed")
++GameplayTagList=(Tag="Ability.Type.Passive.AutoRespawn",DevComment="Passive ability that listens for a player\'s pawn to die or otherwise be removed from play, and automatically respawns.")
++GameplayTagList=(Tag="Ability.Type.Passive.ChangeQuickbarSlot",DevComment="Handles requests for any type of slot change, whether directly indexed or cycling forward/backward")
++GameplayTagList=(Tag="Ability.Type.StatusChange",DevComment="Abilities of this type are used when a status if imposed on the avatar or owner, such as death or spawning")
++GameplayTagList=(Tag="Ability.Type.StatusChange.Death",DevComment="Covers the transition period when health goes to 0 until the avatar is removed from the world")
++GameplayTagList=(Tag="Ability.Type.StatusChange.Spawning",DevComment="Covers the time when a new hero is created, spawning into the world, and when it\'s actively controllable")
++GameplayTagList=(Tag="Cosmetic",DevComment="")
++GameplayTagList=(Tag="Cosmetic.AnimationStyle.Feminine",DevComment="")
++GameplayTagList=(Tag="Cosmetic.AnimationStyle.Masculine",DevComment="")
++GameplayTagList=(Tag="Cosmetic.BodyStyle.Medium",DevComment="")
++GameplayTagList=(Tag="Gameplay.Zone.WeakSpot",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Character.DamageTaken",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Character.Dash",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Character.Dash.Cooldown",DevComment="Cooldown for character dash")
++GameplayTagList=(Tag="GameplayCue.Character.Death",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Character.Heal",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Character.Melee.Cooldown",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Test.Burst",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Test.BurstLatent",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Test.Looping",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Weapon.Grenade.Cooldown",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Weapon.Grenade.Detonate",DevComment="Grenade Explosion")
++GameplayTagList=(Tag="GameplayCue.Weapon.Melee.Hit",DevComment="hit melee CS, placed on default as the GCN is there -needs to move to Shooter")
++GameplayTagList=(Tag="GameplayCue.Weapon.Melee.Impact",DevComment="Cue triggering on target when hit by a melee attack")
++GameplayTagList=(Tag="GameplayCue.Weapon.Pistol.Fire",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Weapon.Rifle.Fire",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Weapon.Rifle.Impact",DevComment="")
++GameplayTagList=(Tag="GameplayCue.Weapon.Shotgun.Fire",DevComment="")
++GameplayTagList=(Tag="GameplayCue.World.Launcher.Activate",DevComment="Fires when Launcher (Up or Forward) activates")
++GameplayTagList=(Tag="GameplayCue.World.Teleporter.Activate",DevComment="Triggered when teleporter is activated")
++GameplayTagList=(Tag="GameplayEffect.DamageTrait.Instant",DevComment="")
++GameplayTagList=(Tag="GameplayEffect.DamageTrait.Periodic",DevComment="")
++GameplayTagList=(Tag="GameplayEffect.DamageType.Basic",DevComment="")
++GameplayTagList=(Tag="GameplayEffect.DamageType.Grenade",DevComment="Damage effect coming from a grenade explosion")
++GameplayTagList=(Tag="GameplayEffect.DamageType.Melee",DevComment="Damage effect coming from a melee strike")
++GameplayTagList=(Tag="GameplayEffect.DamageType.Pistol",DevComment="Damage effect coming from a pistol bullet")
++GameplayTagList=(Tag="GameplayEffect.DamageType.Rifle",DevComment="Damage effect coming from a rifle bullet")
++GameplayTagList=(Tag="GameplayEffect.DamageType.Shotgun",DevComment="Damage effect coming from shotgun pellets")
++GameplayTagList=(Tag="GameplayEffect.Heal.Instant",DevComment="")
++GameplayTagList=(Tag="GameplayEffect.Heal.Periodic",DevComment="")
++GameplayTagList=(Tag="GameplayEvent.MeleeHit",DevComment="")
++GameplayTagList=(Tag="GameSettings.Action.EditSafeZone",DevComment="")
++GameplayTagList=(Tag="HUD.Slot.ExtraEquipment",DevComment="")
++GameplayTagList=(Tag="HUD.Slot.InfrequentAbilities",DevComment="")
++GameplayTagList=(Tag="HUD.Slot.LeftSideTouchInputs",DevComment="")
++GameplayTagList=(Tag="HUD.Slot.LeftSideTouchRegion",DevComment="")
++GameplayTagList=(Tag="HUD.Slot.RespawnTimer",DevComment="")
++GameplayTagList=(Tag="HUD.Slot.RightSideTouchInputs",DevComment="")
++GameplayTagList=(Tag="HUD.Slot.RightSideTouchRegion",DevComment="")
++GameplayTagList=(Tag="InputTag.Ability.Dash",DevComment="")
++GameplayTagList=(Tag="InputTag.Ability.Heal",DevComment="")
++GameplayTagList=(Tag="InputTag.Ability.Melee",DevComment="Melee Input")
++GameplayTagList=(Tag="InputTag.Ability.Quickslot.Drop",DevComment="")
++GameplayTagList=(Tag="InputTag.Jump",DevComment="")
++GameplayTagList=(Tag="InputTag.Weapon.ADS",DevComment="")
++GameplayTagList=(Tag="InputTag.Weapon.Fire",DevComment="")
++GameplayTagList=(Tag="InputTag.Weapon.FireAuto",DevComment="")
++GameplayTagList=(Tag="InputTag.Weapon.Grenade",DevComment="")
++GameplayTagList=(Tag="InputTag.Weapon.Reload",DevComment="")
++GameplayTagList=(Tag="Lyra.Damage.Taken.Message",DevComment="")
++GameplayTagList=(Tag="Lyra.HUD.PlayerHUD",DevComment="")
++GameplayTagList=(Tag="Lyra.HUD.TempTopWidgets",DevComment="")
++GameplayTagList=(Tag="Lyra.Player",DevComment="")
++GameplayTagList=(Tag="Platform.Trait.BinauralSettingControlledByOS",DevComment="")
++GameplayTagList=(Tag="Platform.Trait.CanExitApplication",DevComment="Can we show a quit option to exit the application?")
++GameplayTagList=(Tag="Platform.Trait.Input.PrimarlyController",DevComment="")
++GameplayTagList=(Tag="Platform.Trait.Input.HasStrictControllerPairing",DevComment="True on platforms which will ignore input from devices not mapped to a user.")
++GameplayTagList=(Tag="Platform.Trait.Input.PrimarlyTouchScreen",DevComment="")
++GameplayTagList=(Tag="Platform.Trait.Input.SupportsMouseAndKeyboard",DevComment="")
++GameplayTagList=(Tag="Platform.Trait.Input.HardwareCursor",DevComment="Does this platform use a hardware mouse cursor?")
++GameplayTagList=(Tag="Platform.Trait.SupportsBackgroundAudio",DevComment="")
++GameplayTagList=(Tag="Platform.Trait.SupportsChangingAudioOutputDevice",DevComment="")
++GameplayTagList=(Tag="Platform.Trait.SupportsWindowedMode",DevComment="Can we switch between fullscreen and windowed modes?")
++GameplayTagList=(Tag="ShooterGame.GamePhase.MatchBeginCountdown",DevComment="When this tag is used in a gameplay message, an expected duration is included in the payload.")
++GameplayTagList=(Tag="Status.SpawningIn",DevComment="Covers the time when the pawn is created until it is controlled and unlocked for play")
++GameplayTagList=(Tag="UI.Action.Back",DevComment="")
++GameplayTagList=(Tag="UI.Layer.Game",DevComment="")
++GameplayTagList=(Tag="UI.Layer.GameMenu",DevComment="")
++GameplayTagList=(Tag="UI.Layer.Menu",DevComment="")
++GameplayTagList=(Tag="UI.Layer.Modal",DevComment="")
+
diff --git a/LyraStarterGame/Config/DefaultInput.ini b/LyraStarterGame/Config/DefaultInput.ini
new file mode 100644
index 0000000000000000000000000000000000000000..f7fcbde35c153a7b201e3c8516f940ef40f4084e
--- /dev/null
+++ b/LyraStarterGame/Config/DefaultInput.ini
@@ -0,0 +1,51 @@
+[/Script/Engine.PlayerInput]
++DebugExecBindings=(Key=Insert,Command="Cheat Teleport")
++DebugExecBindings=(Key=Delete,Command="CycleDebugCameras")
++DebugExecBindings=(Key=Gamepad_Special_Left,Command="CycleDebugCameras")
++DebugExecBindings=(Key=Home,Command="ShowDebug")
++DebugExecBindings=(Key=End,Command="CycleAbilitySystemDebug")
++DebugExecBindings=(Key=PageDown,Command="PreviousDebugTarget")
++DebugExecBindings=(Key=PageUp,Command="NextDebugTarget")
++DebugExecBindings=(Key=K,Command="DamageSelfDestruct")
++DebugExecBindings=(Key=NumPadFour,Command="CancelActivatedAbilities")
+
+[/Script/Engine.InputSettings]
++AxisConfig=(AxisKeyName="Gamepad_LeftX",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
++AxisConfig=(AxisKeyName="Gamepad_LeftY",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
++AxisConfig=(AxisKeyName="Gamepad_RightX",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
++AxisConfig=(AxisKeyName="Gamepad_RightY",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
++AxisConfig=(AxisKeyName="MouseX",AxisProperties=(DeadZone=0.000000,Sensitivity=0.070000,Exponent=1.000000,bInvert=False))
++AxisConfig=(AxisKeyName="MouseY",AxisProperties=(DeadZone=0.000000,Sensitivity=0.070000,Exponent=1.000000,bInvert=False))
++AxisConfig=(AxisKeyName="MouseWheelAxis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
++AxisConfig=(AxisKeyName="Gamepad_LeftTriggerAxis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
++AxisConfig=(AxisKeyName="Gamepad_RightTriggerAxis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
++AxisConfig=(AxisKeyName="Gamepad_Special_Left_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
++AxisConfig=(AxisKeyName="Gamepad_Special_Left_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
+bUseMouseForTouch=False
+bCaptureMouseOnLaunch=True
+bUseAutocorrect=False
+DefaultViewportMouseCaptureMode=CapturePermanently_IncludingInitialMouseDown
+DefaultViewportMouseLockMode=LockOnCapture
+FOVScale=0.011110
+DoubleClickTime=0.200000
+DefaultTouchInterface=None
+DefaultPlayerInputClass=/Script/LyraGame.LyraPlayerInput
+DefaultInputComponentClass=/Script/LyraGame.LyraInputComponent
+bFilterInputByPlatformUser=True
+
+[/Script/CommonUI.CommonUIInputSettings]
+bLinkCursorToGamepadFocus=True
+UIActionProcessingPriority=10000
++InputActions=(ActionTag=UI.Action.Escape,DefaultDisplayName=NSLOCTEXT("[/Script/CommonUI]", "DDDC55F044A6D009AE3FC89634A4FBE3", "Back"),KeyMappings=((Key=Escape),(Key=Gamepad_Special_Right)))
+;+InputActions=(ActionTag=UI.Action.Cancel,DefaultDisplayName=NSLOCTEXT("[/Script/CommonUI]", "F1AC4A364A0F262F8DBFFF924078BCD1", "Cancel"),KeyMappings=((Key=ThumbMouseButton2)))
+AnalogCursorSettings=(PreprocessorRegistrationInfo=(Type=Game, Priority=2),bEnableCursorAcceleration=True,CursorAcceleration=1500.000000,CursorMaxSpeed=2200.000000,CursorDeadZone=0.250000,HoverSlowdownFactor=0.400000,ScrollDeadZone=0.200000,ScrollUpdatePeriod=0.100000,ScrollMultiplier=2.500000)
+
+[/Script/OpenXRInput.OpenXRInputSettings]
+bUseEnhancedInput=True
+MappableInputConfig=None
+
+[/Script/EnhancedInput.EnhancedInputDeveloperSettings]
+bEnableUserSettings=True
+UserSettingsClass=/Script/LyraGame.LyraInputUserSettings
+DefaultPlayerMappableKeyProfileClass=/Script/LyraGame.LyraPlayerMappableKeyProfile
+
diff --git a/LyraStarterGame/Config/DefaultRuntimeOptions.ini b/LyraStarterGame/Config/DefaultRuntimeOptions.ini
new file mode 100644
index 0000000000000000000000000000000000000000..22186d41453f03740c5e9ab5d78232f90c571aeb
--- /dev/null
+++ b/LyraStarterGame/Config/DefaultRuntimeOptions.ini
@@ -0,0 +1,2 @@
+[/Script/LyraGame.LyraRuntimeOptons]
+;bDisableSomething=true
\ No newline at end of file
diff --git a/LyraStarterGame/Config/DefaultScalability.ini b/LyraStarterGame/Config/DefaultScalability.ini
new file mode 100644
index 0000000000000000000000000000000000000000..3302897533003485509a571cbbce31cb1c463b24
--- /dev/null
+++ b/LyraStarterGame/Config/DefaultScalability.ini
@@ -0,0 +1,113 @@
+[ScalabilitySettings]
+; Change engine defaults so a high end 2018 GPU will end up at a mix of Epic and High settings
+; The resolution quality will need to be modified by users with 4k displays with the current autodetection system
+PerfIndexThresholds_ResolutionQuality="GPU 18 115 350"
+PerfIndexThresholds_ViewDistanceQuality="GPU 18 115 250"
+PerfIndexThresholds_AntiAliasingQuality="GPU 18 115 500"
+PerfIndexThresholds_ShadowQuality="GPU 18 115 500"
+PerfIndexThresholds_GlobalIlluminationQuality="GPU 18 115 500"
+PerfIndexThresholds_ReflectionQuality="GPU 18 115 350"
+PerfIndexThresholds_PostProcessQuality="GPU 18 115 350"
+PerfIndexThresholds_TextureQuality="GPU 18 115 250"
+PerfIndexThresholds_EffectsQuality="GPU 18 115 350"
+PerfIndexThresholds_FoliageQuality="GPU 18 115 250"
+PerfIndexThresholds_ShadingQuality="GPU 18 115 250"
+
+
+; Change some shadow settings to match the map content
+[ShadowQuality@0]
+r.Shadow.Virtual.ResolutionLodBiasDirectional=0
+
+[ShadowQuality@1]
+r.Shadow.Virtual.ResolutionLodBiasDirectional=0
+
+[ShadowQuality@2]
+r.Shadow.Virtual.ResolutionLodBiasDirectional=0
+
+[ShadowQuality@3]
+r.Shadow.Virtual.ResolutionLodBiasDirectional=-1.5
+
+; Change some reflection settings to match the map content
+[GlobalIlluminationQuality@0]
+r.DistanceFieldAO=0
+
+[GlobalIlluminationQuality@1]
+; Enable DFAO when Lumen is off
+r.DistanceFieldAO=1
+
+[GlobalIlluminationQuality@2]
+r.DistanceFieldAO=0
+
+[GlobalIlluminationQuality@3]
+r.DistanceFieldAO=0
+
+[GlobalIlluminationQuality@Cine]
+r.DistanceFieldAO=0
+
+
+[ReflectionQuality@0]
+r.Lumen.Reflections.Allow=0
+
+[ReflectionQuality@1]
+r.Lumen.Reflections.Allow=0
+
+[ReflectionQuality@2]
+r.Lumen.Reflections.Allow=1
+r.Lumen.Reflections.DownsampleFactor=2
+r.Lumen.Reflections.RadianceCache=1
+
+[ReflectionQuality@3]
+r.Lumen.Reflections.Allow=1
+r.Lumen.Reflections.DownsampleFactor=2
+r.Lumen.Reflections.RadianceCache=1
+
+[ReflectionQuality@Cine]
+r.Lumen.Reflections.Allow=1
+r.Lumen.Reflections.DownsampleFactor=1
+r.Lumen.Reflections.RadianceCache=0
+
+
+; Engine scalability groups can be reorganized by using game-specific ini override syntax
+; These changes disable the FoliageQuality group entirely and moves those settings over to ViewDistanceQuality
+[FoliageQuality@0]
+-foliage.DensityScale=0
+-grass.DensityScale=0
+
+[FoliageQuality@1]
+-foliage.DensityScale=0.4
+-grass.DensityScale=0.4
+
+[FoliageQuality@2]
+-foliage.DensityScale=0.8
+-grass.DensityScale=0.8
+
+[FoliageQuality@3]
+-foliage.DensityScale=1.0
+-grass.DensityScale=1.0
+
+[FoliageQuality@Cine]
+-foliage.DensityScale=1.0
+-grass.DensityScale=1.0
+
+
+[ViewDistanceQuality@0]
+foliage.DensityScale=0
+grass.DensityScale=0
+
+[ViewDistanceQuality@1]
+foliage.DensityScale=0.4
+grass.DensityScale=0.4
+
+[ViewDistanceQuality@2]
+foliage.DensityScale=1.0
+grass.DensityScale=1.0
+
+[ViewDistanceQuality@3]
+foliage.DensityScale=1.0
+grass.DensityScale=1.0
+
+[ViewDistanceQuality@Cine]
+foliage.DensityScale=1.0
+grass.DensityScale=1.0
+
+
diff --git a/LyraStarterGame/Content/B_LyraGameInstance.uasset b/LyraStarterGame/Content/B_LyraGameInstance.uasset
new file mode 100644
index 0000000000000000000000000000000000000000..50c8370e17a679cdf9837803ba16c126612ed2e4
Binary files /dev/null and b/LyraStarterGame/Content/B_LyraGameInstance.uasset differ
diff --git a/LyraStarterGame/Content/B_LyraGameMode.uasset b/LyraStarterGame/Content/B_LyraGameMode.uasset
new file mode 100644
index 0000000000000000000000000000000000000000..2ca5a16efefb83d23c3c78cf261138307659cd80
Binary files /dev/null and b/LyraStarterGame/Content/B_LyraGameMode.uasset differ
diff --git a/LyraStarterGame/Content/DefaultGameData.uasset b/LyraStarterGame/Content/DefaultGameData.uasset
new file mode 100644
index 0000000000000000000000000000000000000000..cc830ddb2d893ca6da3b0e98cb7068b74c7200e6
Binary files /dev/null and b/LyraStarterGame/Content/DefaultGameData.uasset differ
diff --git a/LyraStarterGame/Plugins/AsyncMixin/AsyncMixin.uplugin b/LyraStarterGame/Plugins/AsyncMixin/AsyncMixin.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..233540acb7f40ad2fd50f2490c151383fd8697b5
--- /dev/null
+++ b/LyraStarterGame/Plugins/AsyncMixin/AsyncMixin.uplugin
@@ -0,0 +1,21 @@
+{
+ "FileVersion": 3,
+ "Version": 1,
+ "VersionName": "1.0",
+ "FriendlyName": "AsyncMixin",
+ "Description": "C++ utility class for managing asynchronous operations like loading.",
+ "Category": "UI",
+ "CreatedBy": "Epic Games, Inc.",
+ "CreatedByURL": "http://epicgames.com",
+ "DocsURL": "",
+ "MarketplaceURL": "",
+ "SupportURL": "",
+ "EnabledByDefault": false,
+ "Modules": [
+ {
+ "Name": "AsyncMixin",
+ "Type": "Runtime",
+ "LoadingPhase": "Default"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/CommonGame/CommonGame.uplugin b/LyraStarterGame/Plugins/CommonGame/CommonGame.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..0e24ec009711bb6030f3a34642f6fc6b390e7d18
--- /dev/null
+++ b/LyraStarterGame/Plugins/CommonGame/CommonGame.uplugin
@@ -0,0 +1,42 @@
+{
+ "FileVersion": 3,
+ "Version": 1,
+ "VersionName": "1.0",
+ "FriendlyName": "CommonGame",
+ "Description": "Generic gameplay classes that use the other Common plugins.",
+ "Category": "Gameplay",
+ "CreatedBy": "Epic Games, Inc.",
+ "CreatedByURL": "https://www.epicgames.com",
+ "DocsURL": "",
+ "MarketplaceURL": "",
+ "SupportURL": "",
+ "CanContainContent": false,
+ "IsBetaVersion": false,
+ "Installed": false,
+
+ "Modules": [
+ {
+ "Name": "CommonGame",
+ "Type": "Runtime",
+ "LoadingPhase": "Default"
+ }
+ ],
+ "Plugins": [
+ {
+ "Name": "CommonUI",
+ "Enabled": true
+ },
+ {
+ "Name": "CommonUser",
+ "Enabled": true
+ },
+ {
+ "Name": "ModularGameplayActors",
+ "Enabled": true
+ },
+ {
+ "Name": "OnlineFramework",
+ "Enabled": true
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/CommonLoadingScreen/CommonLoadingScreen.uplugin b/LyraStarterGame/Plugins/CommonLoadingScreen/CommonLoadingScreen.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..ab6f871040867bec58436866c7cbd3889aead92f
--- /dev/null
+++ b/LyraStarterGame/Plugins/CommonLoadingScreen/CommonLoadingScreen.uplugin
@@ -0,0 +1,29 @@
+{
+ "FileVersion": 3,
+ "Version": 1,
+ "VersionName": "1.0",
+ "FriendlyName": "CommonLoadingScreen",
+ "Description": "Loading screen manager handling creation and display of a project-specified loading screen widget",
+ "Category": "Gameplay",
+ "CreatedBy": "Epic Games, Inc.",
+ "CreatedByURL": "https://www.epicgames.com",
+ "DocsURL": "",
+ "MarketplaceURL": "",
+ "SupportURL": "",
+ "CanContainContent": false,
+ "IsBetaVersion": false,
+ "IsExperimentalVersion": false,
+ "Installed": false,
+ "Modules": [
+ {
+ "Name": "CommonLoadingScreen",
+ "Type": "Runtime",
+ "LoadingPhase": "Default"
+ },
+ {
+ "Name": "CommonStartupLoadingScreen",
+ "Type": "ClientOnly",
+ "LoadingPhase": "PreLoadingScreen"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/CommonUser/CommonUser.uplugin b/LyraStarterGame/Plugins/CommonUser/CommonUser.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..3fe38172f887bd9381433d2194a54e7010b51a02
--- /dev/null
+++ b/LyraStarterGame/Plugins/CommonUser/CommonUser.uplugin
@@ -0,0 +1,38 @@
+{
+ "FileVersion": 3,
+ "Version": 1,
+ "VersionName": "1.0",
+ "FriendlyName": "CommonUser",
+ "Description": "Provides gameplay code and blueprint wrappers for online and platform operations.",
+ "Category": "Gameplay",
+ "CreatedBy": "Epic Games, Inc.",
+ "CreatedByURL": "https://www.epicgames.com",
+ "DocsURL": "",
+ "MarketplaceURL": "",
+ "SupportURL": "",
+ "CanContainContent": false,
+ "IsBetaVersion": false,
+ "IsExperimentalVersion": false,
+ "Installed": false,
+ "Modules": [
+ {
+ "Name": "CommonUser",
+ "Type": "Runtime",
+ "LoadingPhase": "Default"
+ }
+ ],
+ "Plugins": [
+ {
+ "Name": "OnlineSubsystem",
+ "Enabled": true
+ },
+ {
+ "Name": "OnlineSubsystemUtils",
+ "Enabled": true
+ },
+ {
+ "Name": "OnlineServices",
+ "Enabled": true
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/GameSettings/GameSettings.uplugin b/LyraStarterGame/Plugins/GameSettings/GameSettings.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..dcfb0735093ac5288cae8d7ff6ccf8bd5c2e5115
--- /dev/null
+++ b/LyraStarterGame/Plugins/GameSettings/GameSettings.uplugin
@@ -0,0 +1,30 @@
+{
+ "FileVersion": 3,
+ "Version": 1,
+ "VersionName": "1.0",
+ "FriendlyName": "GameSettings",
+ "Description": "System for defining game-specific settings and exposing them to the UI.",
+ "Category": "UI",
+ "CreatedBy": "Epic Games, Inc.",
+ "CreatedByURL": "https://www.epicgames.com",
+ "DocsURL": "",
+ "MarketplaceURL": "",
+ "SupportURL": "",
+ "CanContainContent": false,
+ "IsBetaVersion": false,
+ "Installed": false,
+
+ "Modules": [
+ {
+ "Name": "GameSettings",
+ "Type": "Runtime",
+ "LoadingPhase": "Default"
+ }
+ ],
+ "Plugins": [
+ {
+ "Name": "CommonUI",
+ "Enabled": true
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/GameSubtitles/GameSubtitles.uplugin b/LyraStarterGame/Plugins/GameSubtitles/GameSubtitles.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..ef7aa92717db9d43ca0eda01b7a3fe2d13a6974d
--- /dev/null
+++ b/LyraStarterGame/Plugins/GameSubtitles/GameSubtitles.uplugin
@@ -0,0 +1,25 @@
+{
+ "FileVersion" : 3,
+ "Version" : 1,
+ "VersionName" : "1.0",
+ "FriendlyName" : "Game Subtitles",
+ "Description" : "Game support for playing subtitles attached to media player assets.",
+ "Category" : "UI",
+ "CreatedBy" : "Epic Games, Inc.",
+ "CreatedByURL" : "http://epicgames.com",
+ "DocsURL" : "",
+ "MarketplaceURL" : "",
+ "SupportURL" : "",
+ "EnabledByDefault" : false,
+ "CanContainContent" : false,
+ "IsBetaVersion" : false,
+ "Installed" : false,
+ "Modules" :
+ [
+ {
+ "Name": "GameSubtitles",
+ "Type": "Runtime",
+ "LoadingPhase" : "Default"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/GameplayMessageRouter/GameplayMessageRouter.uplugin b/LyraStarterGame/Plugins/GameplayMessageRouter/GameplayMessageRouter.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..ceb893bf2cf7397363755e88b9034321dbdaca90
--- /dev/null
+++ b/LyraStarterGame/Plugins/GameplayMessageRouter/GameplayMessageRouter.uplugin
@@ -0,0 +1,35 @@
+{
+ "FileVersion": 3,
+ "Version": 1,
+ "VersionName": "1.0",
+ "FriendlyName": "Gameplay Message Subsystem",
+ "Description": "A subsystem that allows registering for and sending messages between unconnected gameplay objects.",
+ "Category": "Gameplay",
+ "CreatedBy": "Epic Games, Inc.",
+ "CreatedByURL": "http://epicgames.com",
+ "DocsURL": "",
+ "MarketplaceURL": "",
+ "SupportURL": "",
+ "EnabledByDefault": true,
+ "CanContainContent": false,
+ "IsBetaVersion": true,
+ "Installed": false,
+ "Modules": [
+ {
+ "Name": "GameplayMessageRuntime",
+ "Type": "Runtime",
+ "LoadingPhase": "Default"
+ },
+ {
+ "Name": "GameplayMessageNodes",
+ "Type": "UncookedOnly",
+ "LoadingPhase": "Default"
+ }
+ ],
+ "Plugins": [
+ {
+ "Name": "GameplayTagsEditor",
+ "Enabled": true
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/LyraExampleContent/LyraExampleContent.uplugin b/LyraStarterGame/Plugins/LyraExampleContent/LyraExampleContent.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..5c3313ea459c1f1c1d4960dba8077bf33821e27c
--- /dev/null
+++ b/LyraStarterGame/Plugins/LyraExampleContent/LyraExampleContent.uplugin
@@ -0,0 +1,18 @@
+{
+ "FileVersion": 3,
+ "Version": 1,
+ "VersionName": "1.0",
+ "FriendlyName": "LyraExample",
+ "Description": "Lyra Example Content",
+ "Category": "Game",
+ "CreatedBy": "Epic Games, Inc.",
+ "CreatedByURL": "http://epicgames.com",
+ "DocsURL": "",
+ "MarketplaceURL": "",
+ "SupportURL": "",
+ "EnabledByDefault": true,
+ "CanContainContent": true,
+ "IsBetaVersion": false,
+ "Installed": false,
+ "IsExperimentalVersion": false
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/LyraExtTool/LyraExtTool.uplugin b/LyraStarterGame/Plugins/LyraExtTool/LyraExtTool.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..6cc15b51146eb160896397d2f1e467867fbf6f31
--- /dev/null
+++ b/LyraStarterGame/Plugins/LyraExtTool/LyraExtTool.uplugin
@@ -0,0 +1,24 @@
+{
+ "FileVersion": 3,
+ "Version": 1,
+ "VersionName": "1.0",
+ "FriendlyName": "LyraExtTool",
+ "Description": "",
+ "Category": "Other",
+ "CreatedBy": "",
+ "CreatedByURL": "",
+ "DocsURL": "",
+ "MarketplaceURL": "",
+ "SupportURL": "",
+ "CanContainContent": true,
+ "IsBetaVersion": false,
+ "IsExperimentalVersion": false,
+ "Installed": false,
+ "Modules": [
+ {
+ "Name": "LyraExtTool",
+ "Type": "Editor",
+ "LoadingPhase": "Default"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/ModularGameplayActors/ModularGameplayActors.uplugin b/LyraStarterGame/Plugins/ModularGameplayActors/ModularGameplayActors.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..14531d928974ce92429d7a32959589df10567d5e
--- /dev/null
+++ b/LyraStarterGame/Plugins/ModularGameplayActors/ModularGameplayActors.uplugin
@@ -0,0 +1,30 @@
+{
+ "FileVersion": 3,
+ "Version": 1,
+ "VersionName": "1.0",
+ "FriendlyName": "Modular Gameplay Actors",
+ "Description": "Base classes designed to be used with the Modular Gameplay plugin.",
+ "Category": "Gameplay",
+ "CreatedBy": "Epic Games, Inc.",
+ "CreatedByURL": "http://epicgames.com",
+ "DocsURL": "",
+ "MarketplaceURL": "",
+ "SupportURL": "",
+ "EnabledByDefault": true,
+ "CanContainContent": false,
+ "IsBetaVersion": false,
+ "Installed": false,
+ "Modules": [
+ {
+ "Name": "ModularGameplayActors",
+ "Type": "Runtime",
+ "LoadingPhase": "Default"
+ }
+ ],
+ "Plugins": [
+ {
+ "Name": "ModularGameplay",
+ "Enabled": true
+ }
+ ]
+}
diff --git a/LyraStarterGame/Plugins/PocketWorlds/Content/M_Black.uasset b/LyraStarterGame/Plugins/PocketWorlds/Content/M_Black.uasset
new file mode 100644
index 0000000000000000000000000000000000000000..0947b9642a80472fca9aea535ec6edc647a4171f
Binary files /dev/null and b/LyraStarterGame/Plugins/PocketWorlds/Content/M_Black.uasset differ
diff --git a/LyraStarterGame/Plugins/PocketWorlds/Content/M_PocketCaptureMasked.uasset b/LyraStarterGame/Plugins/PocketWorlds/Content/M_PocketCaptureMasked.uasset
new file mode 100644
index 0000000000000000000000000000000000000000..911d26ce22b2ae045685701d17d7123bd6c1b60f
Binary files /dev/null and b/LyraStarterGame/Plugins/PocketWorlds/Content/M_PocketCaptureMasked.uasset differ
diff --git a/LyraStarterGame/Plugins/PocketWorlds/Content/M_White.uasset b/LyraStarterGame/Plugins/PocketWorlds/Content/M_White.uasset
new file mode 100644
index 0000000000000000000000000000000000000000..4a76efdbf536a252132b2779c7b88472c413d84d
Binary files /dev/null and b/LyraStarterGame/Plugins/PocketWorlds/Content/M_White.uasset differ
diff --git a/LyraStarterGame/Plugins/PocketWorlds/PocketWorlds.uplugin b/LyraStarterGame/Plugins/PocketWorlds/PocketWorlds.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..53ea95d46c6554f6c66061b2e17633cfcbe3fd14
--- /dev/null
+++ b/LyraStarterGame/Plugins/PocketWorlds/PocketWorlds.uplugin
@@ -0,0 +1,25 @@
+{
+ "FileVersion" : 3,
+ "Version" : 1,
+ "VersionName" : "1.0",
+ "FriendlyName" : "Pocket Worlds",
+ "Description" : "Pocket Worlds",
+ "Category" : "UI",
+ "CreatedBy" : "Epic Games, Inc.",
+ "CreatedByURL" : "http://epicgames.com",
+ "DocsURL" : "",
+ "MarketplaceURL" : "",
+ "SupportURL" : "",
+ "EnabledByDefault" : false,
+ "CanContainContent" : true,
+ "IsBetaVersion" : false,
+ "Installed" : false,
+ "Modules" :
+ [
+ {
+ "Name": "PocketWorlds",
+ "Type": "Runtime",
+ "LoadingPhase" : "Default"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/PocketWorlds/Source/PocketWorlds.Build.cs b/LyraStarterGame/Plugins/PocketWorlds/Source/PocketWorlds.Build.cs
new file mode 100644
index 0000000000000000000000000000000000000000..0b4d46e9df4c02d5e0c69732bea8b59159082e00
--- /dev/null
+++ b/LyraStarterGame/Plugins/PocketWorlds/Source/PocketWorlds.Build.cs
@@ -0,0 +1,30 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+using UnrealBuildTool;
+
+public class PocketWorlds : ModuleRules
+{
+ public PocketWorlds(ReadOnlyTargetRules Target) : base(Target)
+ {
+ PublicDependencyModuleNames.AddRange(
+ new string[]
+ {
+ "Core",
+ "CoreUObject",
+ "Engine",
+ }
+ );
+
+ PublicIncludePathModuleNames.AddRange(
+ new string[] {
+ }
+ );
+
+ PrivateDependencyModuleNames.AddRange(
+ new string[]
+ {
+ // ... add private dependencies that you statically link with here ...
+ }
+ );
+ }
+}
diff --git a/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketCapture.cpp b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketCapture.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..c90df830a71097b7e359dafced331ae2d20b72f9
--- /dev/null
+++ b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketCapture.cpp
@@ -0,0 +1,363 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "PocketCapture.h"
+
+#include "Camera/CameraComponent.h"
+#include "Camera/CameraTypes.h"
+#include "Components/PrimitiveComponent.h"
+#include "Components/SceneCaptureComponent.h"
+#include "Components/SceneCaptureComponent2D.h"
+#include "Engine/TextureRenderTarget2D.h"
+#include "PocketCaptureSubsystem.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(PocketCapture)
+
+class UWorld;
+
+// UPocketCapture
+//---------------------------------------------------------------------------------
+
+UPocketCapture::UPocketCapture()
+{
+}
+
+void UPocketCapture::Initialize(UWorld* InWorld, int32 InRendererIndex)
+{
+ PrivateWorld = InWorld;
+ RendererIndex = InRendererIndex;
+
+ CaptureComponent = NewObject(this, "Thumbnail_Capture_Component");
+ CaptureComponent->RegisterComponentWithWorld(InWorld);
+ CaptureComponent->bConsiderUnrenderedOpaquePixelAsFullyTranslucent = true;
+ CaptureComponent->PrimitiveRenderMode = ESceneCapturePrimitiveRenderMode::PRM_UseShowOnlyList;
+ CaptureComponent->bCaptureEveryFrame = false;
+ CaptureComponent->bCaptureOnMovement = false;
+ CaptureComponent->bAlwaysPersistRenderingState = true;
+
+ //UE_LOG(LogPocketLevels, Log, TEXT("ThumbnailRenderer: Initialize:%s"), *GetName());
+}
+
+void UPocketCapture::Deinitialize()
+{
+ CaptureComponent->UnregisterComponent();
+
+ //UE_LOG(LogPocketLevels, Log, TEXT("ThumbnailRenderer: Deinitialize:%s"), *GetName());
+}
+
+void UPocketCapture::BeginDestroy()
+{
+ Super::BeginDestroy();
+
+ if (CaptureComponent)
+ {
+ CaptureComponent->UnregisterComponent();
+ CaptureComponent = nullptr;
+ }
+}
+
+void UPocketCapture::SetRenderTargetSize(int32 Width, int32 Height)
+{
+ if (SurfaceWidth != Width || SurfaceHeight != Height)
+ {
+ SurfaceWidth = Width;
+ SurfaceHeight = Height;
+
+ if (DiffuseRT)
+ {
+ DiffuseRT->ResizeTarget(SurfaceWidth, SurfaceHeight);
+ }
+
+ if (AlphaMaskRT)
+ {
+ AlphaMaskRT->ResizeTarget(SurfaceWidth, SurfaceHeight);
+ }
+
+ if (EffectsRT)
+ {
+ EffectsRT->ResizeTarget(SurfaceWidth, SurfaceHeight);
+ }
+ }
+
+ //UE_LOG(LogPocketLevels, Log, TEXT("ThumbnailRenderer: SetRenderTargetSize:%dx%d"), Width, Height);
+}
+
+UTextureRenderTarget2D* UPocketCapture::GetOrCreateDiffuseRenderTarget()
+{
+ if (DiffuseRT == nullptr)
+ {
+ DiffuseRT = NewObject(this, TEXT("ThumbnailRenderer_Diffuse"));
+ DiffuseRT->RenderTargetFormat = RTF_RGBA8;
+ DiffuseRT->InitAutoFormat(SurfaceWidth, SurfaceHeight);
+ DiffuseRT->UpdateResourceImmediate(true);
+ }
+
+ return DiffuseRT;
+}
+
+UTextureRenderTarget2D* UPocketCapture::GetOrCreateAlphaMaskRenderTarget()
+{
+ if (AlphaMaskRT == nullptr)
+ {
+ AlphaMaskRT = NewObject(this, TEXT("ThumbnailRenderer_AlphaMask"));
+ AlphaMaskRT->RenderTargetFormat = RTF_R8;
+ AlphaMaskRT->InitAutoFormat(SurfaceWidth, SurfaceHeight);
+ AlphaMaskRT->UpdateResourceImmediate(true);
+ }
+
+ return AlphaMaskRT;
+}
+
+UTextureRenderTarget2D* UPocketCapture::GetOrCreateEffectsRenderTarget()
+{
+ if (EffectsRT == nullptr)
+ {
+ EffectsRT = NewObject(this, TEXT("ThumbnailRenderer_Fx"));
+ EffectsRT->RenderTargetFormat = RTF_R8;
+ EffectsRT->InitAutoFormat(SurfaceWidth, SurfaceHeight);
+ EffectsRT->UpdateResourceImmediate(true);
+ }
+
+ return EffectsRT;
+}
+
+void UPocketCapture::SetCaptureTarget(AActor* InCaptureTarget)
+{
+ CaptureTargetPtr = InCaptureTarget;
+
+ OnCaptureTargetChanged(InCaptureTarget);
+}
+
+void UPocketCapture::SetAlphaMaskedActors(const TArray& InCaptureTargets)
+{
+ AlphaMaskActorPtrs.Reset();
+
+ for (AActor* CaptureTarget : InCaptureTargets)
+ {
+ AlphaMaskActorPtrs.Add(CaptureTarget);
+ }
+}
+
+UPocketCaptureSubsystem* UPocketCapture::GetThumbnailSystem() const
+{
+ return CastChecked(GetOuter());
+}
+
+TArray UPocketCapture::GatherPrimitivesForCapture(const TArray& InCaptureActors) const
+{
+ const bool bIncludeFromChildActors = true;
+ TArray PrimitiveComponents;
+
+ for (AActor* CaptureActor : InCaptureActors)
+ {
+ TArray ChildPrimitiveComponents;
+ CaptureActor->GetComponents(ChildPrimitiveComponents, bIncludeFromChildActors);
+
+ for (UPrimitiveComponent* ChildPrimitiveComponent : ChildPrimitiveComponents)
+ {
+ if (!ChildPrimitiveComponent->bHiddenInGame)
+ {
+ PrimitiveComponents.Add(ChildPrimitiveComponent);
+ }
+ }
+ }
+
+ return PrimitiveComponents;
+}
+
+bool UPocketCapture::CaptureScene(UTextureRenderTarget2D* InRenderTarget, const TArray& InCaptureActors, ESceneCaptureSource InCaptureSource, UMaterialInterface* OverrideMaterial)
+{
+ if (InRenderTarget == nullptr)
+ {
+ //UE_LOG(LogPocketLevels, Error, TEXT(""));
+ return false;
+ }
+
+ if (AActor* CaptureTarget = CaptureTargetPtr.Get())
+ {
+ if (InCaptureActors.Num() > 0)
+ {
+ TArray PrimitiveComponents = GatherPrimitivesForCapture(InCaptureActors);
+
+ GetThumbnailSystem()->StreamThisFrame(PrimitiveComponents);
+
+ TArray OriginalMaterials;
+ if (OverrideMaterial)
+ {
+ for (UPrimitiveComponent* PrimitiveComponent : PrimitiveComponents)
+ {
+ const int32 MaterialCount = PrimitiveComponent->GetNumMaterials();
+ for (int32 MaterialIndex = 0; MaterialIndex < MaterialCount; MaterialIndex++)
+ {
+ OriginalMaterials.Add(PrimitiveComponent->GetMaterial(MaterialIndex));
+
+ PrimitiveComponent->SetMaterial(MaterialIndex, OverrideMaterial);
+ }
+ }
+ }
+
+ UCameraComponent* Camera = CaptureTarget->FindComponentByClass();
+ if (ensure(Camera))
+ {
+ CaptureComponent->ShowOnlyActors = InCaptureActors;
+
+ FMinimalViewInfo CaptureView;
+ Camera->GetCameraView(0, CaptureView);
+
+ // We need to make sure the texture streamer takes into account this new location,
+ // this request only lasts for one tick, so we call it every time we need to draw,
+ // so that they stay resident.
+
+ CaptureComponent->TextureTarget = InRenderTarget;
+ CaptureComponent->PostProcessSettings = Camera->PostProcessSettings;
+ CaptureComponent->SetCameraView(CaptureView);
+
+ CaptureComponent->ShowFlags.SetDepthOfField(false);
+ CaptureComponent->ShowFlags.SetMotionBlur(false);
+ CaptureComponent->ShowFlags.SetScreenPercentage(false);
+ CaptureComponent->ShowFlags.SetScreenSpaceReflections(false);
+ CaptureComponent->ShowFlags.SetDistanceFieldAO(false);
+
+ CaptureComponent->ShowFlags.SetLensFlares(false);
+ CaptureComponent->ShowFlags.SetOnScreenDebug(false);
+ //CaptureComponent->ShowFlags.SetEyeAdaptation(false);
+ CaptureComponent->ShowFlags.SetColorGrading(false);
+ CaptureComponent->ShowFlags.SetCameraImperfections(false);
+ CaptureComponent->ShowFlags.SetVignette(false);
+ CaptureComponent->ShowFlags.SetGrain(false);
+ CaptureComponent->ShowFlags.SetSeparateTranslucency(false);
+ CaptureComponent->ShowFlags.SetScreenPercentage(false);
+ CaptureComponent->ShowFlags.SetScreenSpaceReflections(false);
+ CaptureComponent->ShowFlags.SetTemporalAA(false);
+ // might cause reallocation if we render rarely to it - for now off
+ CaptureComponent->ShowFlags.SetAmbientOcclusion(false);
+ // Requires resources in the FScene, which get reallocated for every temporary scene if enabled
+ CaptureComponent->ShowFlags.SetIndirectLightingCache(false);
+ CaptureComponent->ShowFlags.SetLightShafts(false);
+ CaptureComponent->ShowFlags.SetPostProcessMaterial(false);
+ CaptureComponent->ShowFlags.SetHighResScreenshotMask(false);
+ CaptureComponent->ShowFlags.SetHMDDistortion(false);
+ CaptureComponent->ShowFlags.SetStereoRendering(false);
+ CaptureComponent->ShowFlags.SetVolumetricFog(false);
+ CaptureComponent->ShowFlags.SetVolumetricLightmap(false);
+ CaptureComponent->ShowFlags.SetSkyLighting(false);
+
+ CaptureComponent->CaptureSource = InCaptureSource;
+ CaptureComponent->ProfilingEventName = TEXT("Pocket Capture");
+ CaptureComponent->CaptureScene();
+
+ if (OriginalMaterials.Num() > 0)
+ {
+ int32 TotalMaterialIndex = 0;
+ for (UPrimitiveComponent* PrimitiveComponent : PrimitiveComponents)
+ {
+ const int32 MaterialCount = PrimitiveComponent->GetNumMaterials();
+ for (int32 MaterialIndex = 0; MaterialIndex < MaterialCount; MaterialIndex++)
+ {
+ PrimitiveComponent->SetMaterial(MaterialIndex, OriginalMaterials[TotalMaterialIndex]);
+ TotalMaterialIndex++;
+ }
+ }
+ }
+
+ return true;
+ }
+ }
+ else
+ {
+ //UE_LOG(LogPocketLevels, Warning, TEXT("UPocketCapture: %s CaptureScene Failed: No Capture Actors"), *GetName());
+ }
+ }
+ else
+ {
+ //UE_LOG(LogPocketLevels, Warning, TEXT("UPocketCapture: %s CaptureScene Failed: No Capture Target"), *GetName());
+ }
+
+ return false;
+}
+
+void UPocketCapture::CaptureDiffuse()
+{
+ if (UTextureRenderTarget2D* RenderTarget = GetOrCreateDiffuseRenderTarget())
+ {
+ TArray CaptureActors;
+ if (AActor* CaptureTarget = CaptureTargetPtr.Get())
+ {
+ CaptureTarget->GetAttachedActors(CaptureActors);
+ CaptureActors.Add(CaptureTarget);
+ }
+
+ CaptureScene(RenderTarget, CaptureActors, ESceneCaptureSource::SCS_FinalColorLDR, nullptr);
+ }
+}
+
+void UPocketCapture::CaptureAlphaMask()
+{
+ if (UTextureRenderTarget2D* RenderTarget = GetOrCreateAlphaMaskRenderTarget())
+ {
+ TArray CaptureActors;
+ for (const TWeakObjectPtr& AlphaMaskTargetPtr : AlphaMaskActorPtrs)
+ {
+ if (AActor* AlphaMaskTarget = AlphaMaskTargetPtr.Get())
+ {
+ CaptureActors.Add(AlphaMaskTarget);
+ }
+ }
+
+ CaptureScene(RenderTarget, CaptureActors, ESceneCaptureSource::SCS_SceneColorHDR, AlphaMaskMaterial);
+ }
+}
+
+void UPocketCapture::CaptureEffects()
+{
+ if (UTextureRenderTarget2D* RenderTarget = GetOrCreateEffectsRenderTarget())
+ {
+ ensure(false);//TODO
+ TArray CaptureActors;
+ CaptureScene(RenderTarget, CaptureActors, ESceneCaptureSource::SCS_SceneColorHDR, EffectMaskMaterial);
+ }
+}
+
+void UPocketCapture::ReleaseResources()
+{
+ if (DiffuseRT)
+ {
+ DiffuseRT->ReleaseResource();
+ }
+
+ if (AlphaMaskRT)
+ {
+ AlphaMaskRT->ReleaseResource();
+ }
+
+ if (EffectsRT)
+ {
+ EffectsRT->ReleaseResource();
+ }
+
+ //OnReleaseResources();
+}
+
+void UPocketCapture::ReclaimResources()
+{
+ if (DiffuseRT)
+ {
+ DiffuseRT->UpdateResource();
+ }
+
+ if (AlphaMaskRT)
+ {
+ AlphaMaskRT->UpdateResource();
+ }
+
+ if (EffectsRT)
+ {
+ EffectsRT->UpdateResource();
+ }
+
+ //OnReclaimResources();
+}
+
+int32 UPocketCapture::GetRendererIndex() const
+{
+ return RendererIndex;
+}
diff --git a/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketCaptureSubsystem.cpp b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketCaptureSubsystem.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..a90bbecaee1907582d9545ff2a8c7d82b04caf1d
--- /dev/null
+++ b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketCaptureSubsystem.cpp
@@ -0,0 +1,98 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "PocketCaptureSubsystem.h"
+
+#include "Components/PrimitiveComponent.h"
+#include "PocketCapture.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(PocketCaptureSubsystem)
+
+class FSubsystemCollectionBase;
+
+// UPocketCaptureSubsystem
+//---------------------------------------------------------------------------------
+
+UPocketCaptureSubsystem::UPocketCaptureSubsystem()
+{
+}
+
+void UPocketCaptureSubsystem::Initialize(FSubsystemCollectionBase& Collection)
+{
+ TickHandle = FTSTicker::GetCoreTicker().AddTicker(FTickerDelegate::CreateUObject(this, &ThisClass::Tick));
+}
+
+void UPocketCaptureSubsystem::Deinitialize()
+{
+ FTSTicker::GetCoreTicker().RemoveTicker(TickHandle);
+
+ for (int32 RendererIndex = 0; RendererIndex < ThumbnailRenderers.Num(); RendererIndex++)
+ {
+ if (UPocketCapture* Renderer = ThumbnailRenderers[RendererIndex].Get())
+ {
+ Renderer->Deinitialize();
+ }
+ }
+
+ ThumbnailRenderers.Reset();
+}
+
+UPocketCapture* UPocketCaptureSubsystem::CreateThumbnailRenderer(TSubclassOf ThumbnailRendererClass)
+{
+ UPocketCapture* Renderer = NewObject(this, ThumbnailRendererClass);
+
+ int32 RendererEmptyIndex = ThumbnailRenderers.IndexOfByKey(nullptr);
+ if (RendererEmptyIndex == INDEX_NONE)
+ {
+ RendererEmptyIndex = ThumbnailRenderers.Add(Renderer);
+ }
+ else
+ {
+ ThumbnailRenderers[RendererEmptyIndex] = Renderer;
+ }
+
+ Renderer->Initialize(GetWorld(), RendererEmptyIndex);
+
+ return Renderer;
+}
+
+void UPocketCaptureSubsystem::DestroyThumbnailRenderer(UPocketCapture* ThumbnailRenderer)
+{
+ if (ThumbnailRenderer)
+ {
+ const int32 ThumbnailIndex = ThumbnailRenderers.IndexOfByKey(ThumbnailRenderer);
+ if (ThumbnailIndex != INDEX_NONE)
+ {
+ ThumbnailRenderers[ThumbnailIndex] = nullptr;
+ ThumbnailRenderer->Deinitialize();
+ }
+ }
+}
+
+void UPocketCaptureSubsystem::StreamThisFrame(TArray& PrimitiveComponents)
+{
+ for (UPrimitiveComponent* PrimitiveComponent : PrimitiveComponents)
+ {
+ PrimitiveComponent->bForceMipStreaming = true;
+ StreamedLastFrameButNotNext.Remove(PrimitiveComponent);
+ }
+
+ StreamNextFrame.Append(PrimitiveComponents);
+}
+
+bool UPocketCaptureSubsystem::Tick(float DeltaTime)
+{
+ QUICK_SCOPE_CYCLE_COUNTER(STAT_URealTimeThumbnailSubsystem_Tick);
+
+ for (TWeakObjectPtr PrimitiveComponent : StreamedLastFrameButNotNext)
+ {
+ if (PrimitiveComponent.IsValid())
+ {
+ PrimitiveComponent->bForceMipStreaming = false;
+ }
+ }
+
+ StreamedLastFrameButNotNext = MoveTemp(StreamNextFrame);
+
+ return true;
+}
+
diff --git a/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevel.cpp b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevel.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..2880bfbcb95815db1f6ca43cc83c6dfec1b2d74b
--- /dev/null
+++ b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevel.cpp
@@ -0,0 +1,11 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "PocketLevel.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(PocketLevel)
+
+UPocketLevel::UPocketLevel()
+{
+
+}
+
diff --git a/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevelInstance.cpp b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevelInstance.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..870e79b1c1c31c35205a736c686fbba64d4e81cf
--- /dev/null
+++ b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevelInstance.cpp
@@ -0,0 +1,135 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "PocketLevelInstance.h"
+
+#include "Engine/Level.h"
+#include "Engine/LevelStreaming.h"
+#include "Engine/LevelStreamingDynamic.h"
+#include "Engine/LocalPlayer.h"
+#include "GameFramework/PlayerController.h"
+#include "PocketLevel.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(PocketLevelInstance)
+
+UPocketLevelInstance::UPocketLevelInstance()
+{
+
+}
+
+bool UPocketLevelInstance::Initialize(ULocalPlayer* InLocalPlayer, UPocketLevel* InPocketLevel, FVector InSpawnPoint)
+{
+ LocalPlayer = InLocalPlayer;
+ World = LocalPlayer->GetWorld();
+ PocketLevel = InPocketLevel;
+ Bounds = FBoxSphereBounds(FSphere(InSpawnPoint, PocketLevel->Bounds.GetAbsMax()));
+
+ if (ensure(StreamingPocketLevel == nullptr))
+ {
+ if (ensure(!PocketLevel->Level.IsNull()))
+ {
+ bool bSuccess = false;
+ StreamingPocketLevel = ULevelStreamingDynamic::LoadLevelInstanceBySoftObjectPtr(LocalPlayer, PocketLevel->Level, Bounds.Origin, FRotator::ZeroRotator, bSuccess);
+
+ if (ensure(bSuccess && StreamingPocketLevel))
+ {
+ StreamingPocketLevel->OnLevelLoaded.AddUniqueDynamic(this, &ThisClass::HandlePocketLevelLoaded);
+ StreamingPocketLevel->OnLevelShown.AddUniqueDynamic(this, &ThisClass::HandlePocketLevelShown);
+ }
+
+ return bSuccess;
+ }
+ }
+
+ return false;
+}
+
+void UPocketLevelInstance::StreamIn()
+{
+ if (StreamingPocketLevel)
+ {
+ StreamingPocketLevel->SetShouldBeVisible(true);
+ StreamingPocketLevel->SetShouldBeLoaded(true);
+ }
+}
+
+void UPocketLevelInstance::StreamOut()
+{
+ if (StreamingPocketLevel)
+ {
+ StreamingPocketLevel->SetShouldBeVisible(false);
+ StreamingPocketLevel->SetShouldBeLoaded(false);
+ }
+}
+
+FDelegateHandle UPocketLevelInstance::AddReadyCallback(FPocketLevelInstanceEvent::FDelegate Callback)
+{
+ if (StreamingPocketLevel->GetLevelStreamingState() == ELevelStreamingState::LoadedVisible)
+ {
+ Callback.ExecuteIfBound(this);
+ }
+
+ return OnReadyEvent.Add(Callback);
+}
+
+void UPocketLevelInstance::RemoveReadyCallback(FDelegateHandle CallbackToRemove)
+{
+ OnReadyEvent.Remove(CallbackToRemove);
+}
+
+void UPocketLevelInstance::BeginDestroy()
+{
+ Super::BeginDestroy();
+
+ if (StreamingPocketLevel)
+ {
+ StreamingPocketLevel->bShouldBlockOnUnload = false;
+ StreamingPocketLevel->SetShouldBeLoaded(false);
+ StreamingPocketLevel->OnLevelShown.RemoveAll(this);
+ StreamingPocketLevel->OnLevelLoaded.RemoveAll(this);
+ StreamingPocketLevel = nullptr;
+ }
+}
+
+void UPocketLevelInstance::HandlePocketLevelLoaded()
+{
+ if (StreamingPocketLevel)
+ {
+ // Make everything in the level setup so that it's setup on the client, and we treat
+ // everything as locally spawned, rather than bExchangedRoles = true, where it's spawned
+ // on the client, but the expectation is the server said do it, and the server is going to
+ // be telling us about them later.
+ if (ULevel* LoadedLevel = StreamingPocketLevel->GetLoadedLevel())
+ {
+ LoadedLevel->bClientOnlyVisible = true;
+
+ for (AActor* Actor : LoadedLevel->Actors)
+ {
+ if (Actor)
+ {
+ Actor->bExchangedRoles = true; // HACK, Remove when bClientOnlyVisible is all we need.
+ }
+ }
+
+ // TODO: Don't put ownership over shared pocket spaces.
+ if (LocalPlayer)
+ {
+ if (APlayerController* PC = LocalPlayer->GetPlayerController(GetWorld()))
+ {
+ for (AActor* Actor : LoadedLevel->Actors)
+ {
+ if (Actor)
+ {
+ Actor->SetOwner(PC);
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+void UPocketLevelInstance::HandlePocketLevelShown()
+{
+ OnReadyEvent.Broadcast(this);
+}
+
diff --git a/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevelSystem.cpp b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevelSystem.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..818b846735d9e67d571876377db246248cbfb2a5
--- /dev/null
+++ b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevelSystem.cpp
@@ -0,0 +1,36 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "PocketLevelSystem.h"
+
+#include "PocketLevel.h"
+#include "PocketLevelInstance.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(PocketLevelSystem)
+
+UPocketLevelInstance* UPocketLevelSubsystem::GetOrCreatePocketLevelFor(ULocalPlayer* LocalPlayer, UPocketLevel* PocketLevel, FVector DesiredSpawnPoint)
+{
+ if (PocketLevel == nullptr)
+ {
+ return nullptr;
+ }
+
+ float VerticalBoundsOffset = 0;
+ for (UPocketLevelInstance* Instance : PocketInstances)
+ {
+ if (Instance->LocalPlayer == LocalPlayer && Instance->PocketLevel == PocketLevel)
+ {
+ return Instance;
+ }
+
+ VerticalBoundsOffset += Instance->PocketLevel->Bounds.Z;
+ }
+
+ const FVector SpawnPoint = DesiredSpawnPoint + FVector(0, 0, VerticalBoundsOffset);
+
+ UPocketLevelInstance* NewInstance = NewObject(this);
+ NewInstance->Initialize(LocalPlayer, PocketLevel, SpawnPoint);
+
+ PocketInstances.Add(NewInstance);
+
+ return NewInstance;
+}
diff --git a/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketWorldsModule.cpp b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketWorldsModule.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..e63c2db049bf3baf37c026d70f6b149d0177d528
--- /dev/null
+++ b/LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketWorldsModule.cpp
@@ -0,0 +1,24 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "Modules/ModuleManager.h"
+
+class FPocketWorldsModule : public IModuleInterface
+{
+public:
+ /** IModuleInterface implementation */
+ virtual void StartupModule() override;
+ virtual void ShutdownModule() override;
+};
+
+void FPocketWorldsModule::StartupModule()
+{
+ // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
+}
+
+void FPocketWorldsModule::ShutdownModule()
+{
+ // This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
+ // we call this function before unloading the module.
+}
+
+IMPLEMENT_MODULE(FPocketWorldsModule, PocketWorlds)
diff --git a/LyraStarterGame/Plugins/PocketWorlds/Source/Public/PocketCapture.h b/LyraStarterGame/Plugins/PocketWorlds/Source/Public/PocketCapture.h
new file mode 100644
index 0000000000000000000000000000000000000000..660f9851b69c1a32c83ffb00aa9889b9694e7007
--- /dev/null
+++ b/LyraStarterGame/Plugins/PocketWorlds/Source/Public/PocketCapture.h
@@ -0,0 +1,121 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "GameFramework/Actor.h"
+
+#include "PocketCapture.generated.h"
+
+#define UE_API POCKETWORLDS_API
+
+enum ESceneCaptureSource : int;
+
+class UMaterialInterface;
+class UPocketCaptureSubsystem;
+class UPrimitiveComponent;
+class USceneCaptureComponent2D;
+class UTextureRenderTarget2D;
+class UWorld;
+struct FFrame;
+
+UCLASS(MinimalAPI, Abstract, Within=PocketCaptureSubsystem, BlueprintType, Blueprintable)
+class UPocketCapture : public UObject
+{
+ GENERATED_BODY()
+
+public:
+ UE_API UPocketCapture();
+
+ UE_API virtual void Initialize(UWorld* InWorld, int32 RendererIndex);
+ UE_API virtual void Deinitialize();
+
+ UE_API virtual void BeginDestroy() override;
+
+ UFUNCTION(BlueprintCallable)
+ UE_API void SetRenderTargetSize(int32 Width, int32 Height);
+
+ UFUNCTION(BlueprintCallable)
+ UE_API UTextureRenderTarget2D* GetOrCreateDiffuseRenderTarget();
+
+ UFUNCTION(BlueprintCallable)
+ UE_API UTextureRenderTarget2D* GetOrCreateAlphaMaskRenderTarget();
+
+ UFUNCTION(BlueprintCallable)
+ UE_API UTextureRenderTarget2D* GetOrCreateEffectsRenderTarget();
+
+ UFUNCTION(BlueprintCallable)
+ UE_API void SetCaptureTarget(AActor* InCaptureTarget);
+
+ UFUNCTION(BlueprintCallable)
+ UE_API void SetAlphaMaskedActors(const TArray& InCaptureTarget);
+
+ UFUNCTION(BlueprintCallable)
+ UE_API void CaptureDiffuse();
+
+ UFUNCTION(BlueprintCallable)
+ UE_API void CaptureAlphaMask();
+
+ UFUNCTION(BlueprintCallable)
+ UE_API void CaptureEffects();
+
+ UFUNCTION(BlueprintCallable)
+ UE_API virtual void ReleaseResources();
+
+ UFUNCTION(BlueprintCallable)
+ UE_API virtual void ReclaimResources();
+
+ UFUNCTION(BlueprintCallable)
+ UE_API int32 GetRendererIndex() const;
+
+protected:
+ AActor* GetCaptureTarget() const { return CaptureTargetPtr.Get(); }
+ virtual void OnCaptureTargetChanged(AActor* InCaptureTarget) {}
+
+ UE_API bool CaptureScene(UTextureRenderTarget2D* InRenderTarget, const TArray& InCaptureActors, ESceneCaptureSource CaptureSource, UMaterialInterface* OverrideMaterial);
+
+protected:
+ UE_API TArray GatherPrimitivesForCapture(const TArray& InCaptureActors) const;
+
+ UE_API UPocketCaptureSubsystem* GetThumbnailSystem() const;
+
+protected:
+
+ UPROPERTY(EditDefaultsOnly)
+ TObjectPtr AlphaMaskMaterial;
+
+ UPROPERTY(EditDefaultsOnly)
+ TObjectPtr EffectMaskMaterial;
+
+protected:
+ UPROPERTY(Transient)
+ TObjectPtr PrivateWorld;
+
+ UPROPERTY(Transient)
+ int32 RendererIndex = INDEX_NONE;
+
+ UPROPERTY(VisibleAnywhere)
+ int32 SurfaceWidth = 1;
+
+ UPROPERTY(VisibleAnywhere)
+ int32 SurfaceHeight = 1;
+
+ UPROPERTY(VisibleAnywhere)
+ TObjectPtr DiffuseRT;
+
+ UPROPERTY(VisibleAnywhere)
+ TObjectPtr AlphaMaskRT;
+
+ UPROPERTY(VisibleAnywhere)
+ TObjectPtr EffectsRT;
+
+ UPROPERTY(VisibleAnywhere)
+ TObjectPtr CaptureComponent;
+
+ UPROPERTY(VisibleAnywhere)
+ TWeakObjectPtr CaptureTargetPtr;
+
+ UPROPERTY(VisibleAnywhere)
+ TArray> AlphaMaskActorPtrs;
+};
+
+#undef UE_API
diff --git a/LyraStarterGame/Plugins/UIExtension/Binaries/Win64/UnrealEditor.modules b/LyraStarterGame/Plugins/UIExtension/Binaries/Win64/UnrealEditor.modules
new file mode 100644
index 0000000000000000000000000000000000000000..ebe232e043fd86695ecf6040e76e6b65c66bbbbf
--- /dev/null
+++ b/LyraStarterGame/Plugins/UIExtension/Binaries/Win64/UnrealEditor.modules
@@ -0,0 +1,7 @@
+{
+ "BuildId": "43139311",
+ "Modules":
+ {
+ "UIExtension": "UnrealEditor-UIExtension.dll"
+ }
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/UIExtension/Source/Private/LogUIExtension.cpp b/LyraStarterGame/Plugins/UIExtension/Source/Private/LogUIExtension.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..a6c9a2dd4526d16cb09d668fbf6813be62fb9c32
--- /dev/null
+++ b/LyraStarterGame/Plugins/UIExtension/Source/Private/LogUIExtension.cpp
@@ -0,0 +1,5 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "LogUIExtension.h"
+
+DEFINE_LOG_CATEGORY(LogUIExtension);
\ No newline at end of file
diff --git a/LyraStarterGame/Plugins/UIExtension/Source/Private/LogUIExtension.h b/LyraStarterGame/Plugins/UIExtension/Source/Private/LogUIExtension.h
new file mode 100644
index 0000000000000000000000000000000000000000..7a88973caff5e206a68a0363e7c45ed479909b7a
--- /dev/null
+++ b/LyraStarterGame/Plugins/UIExtension/Source/Private/LogUIExtension.h
@@ -0,0 +1,7 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "Logging/LogMacros.h"
+
+DECLARE_LOG_CATEGORY_EXTERN(LogUIExtension, Log, All);
diff --git a/LyraStarterGame/Plugins/UIExtension/Source/Private/UIExtensionModule.cpp b/LyraStarterGame/Plugins/UIExtension/Source/Private/UIExtensionModule.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..d57150892c0a6cf892b552e8cd444dbe27a0e502
--- /dev/null
+++ b/LyraStarterGame/Plugins/UIExtension/Source/Private/UIExtensionModule.cpp
@@ -0,0 +1,24 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "Modules/ModuleManager.h"
+
+class FUIExtensionModule : public IModuleInterface
+{
+public:
+ /** IModuleInterface implementation */
+ virtual void StartupModule() override;
+ virtual void ShutdownModule() override;
+};
+
+void FUIExtensionModule::StartupModule()
+{
+ // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
+}
+
+void FUIExtensionModule::ShutdownModule()
+{
+ // This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
+ // we call this function before unloading the module.
+}
+
+IMPLEMENT_MODULE(FUIExtensionModule, UIExtension)
diff --git a/LyraStarterGame/Plugins/UIExtension/Source/Private/UIExtensionSystem.cpp b/LyraStarterGame/Plugins/UIExtension/Source/Private/UIExtensionSystem.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..808bba2ebf0dabc85937974cf5a6af23df571365
--- /dev/null
+++ b/LyraStarterGame/Plugins/UIExtension/Source/Private/UIExtensionSystem.cpp
@@ -0,0 +1,372 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "UIExtensionSystem.h"
+
+#include "Blueprint/UserWidget.h"
+#include "LogUIExtension.h"
+#include "UObject/Stack.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(UIExtensionSystem)
+
+class FSubsystemCollectionBase;
+
+//=========================================================
+
+void FUIExtensionPointHandle::Unregister()
+{
+ if (UUIExtensionSubsystem* ExtensionSourcePtr = ExtensionSource.Get())
+ {
+ ExtensionSourcePtr->UnregisterExtensionPoint(*this);
+ }
+}
+
+//=========================================================
+
+void FUIExtensionHandle::Unregister()
+{
+ if (UUIExtensionSubsystem* ExtensionSourcePtr = ExtensionSource.Get())
+ {
+ ExtensionSourcePtr->UnregisterExtension(*this);
+ }
+}
+
+//=========================================================
+
+bool FUIExtensionPoint::DoesExtensionPassContract(const FUIExtension* Extension) const
+{
+ if (UObject* DataPtr = Extension->Data)
+ {
+ const bool bMatchesContext =
+ (ContextObject.IsExplicitlyNull() && Extension->ContextObject.IsExplicitlyNull()) ||
+ ContextObject == Extension->ContextObject;
+
+ // Make sure the contexts match.
+ if (bMatchesContext)
+ {
+ // The data can either be the literal class of the data type, or a instance of the class type.
+ const UClass* DataClass = DataPtr->IsA(UClass::StaticClass()) ? Cast(DataPtr) : DataPtr->GetClass();
+ for (const UClass* AllowedDataClass : AllowedDataClasses)
+ {
+ if (DataClass->IsChildOf(AllowedDataClass) || DataClass->ImplementsInterface(AllowedDataClass))
+ {
+ return true;
+ }
+ }
+ }
+ }
+
+ return false;
+}
+
+//=========================================================
+
+void UUIExtensionSubsystem::AddReferencedObjects(UObject* InThis, FReferenceCollector& Collector)
+{
+ Super::AddReferencedObjects(InThis, Collector);
+
+ if (UUIExtensionSubsystem* ExtensionSubsystem = Cast(InThis))
+ {
+ for (auto MapIt = ExtensionSubsystem->ExtensionPointMap.CreateIterator(); MapIt; ++MapIt)
+ {
+ for (const TSharedPtr& ValueElement : MapIt.Value())
+ {
+ Collector.AddReferencedObjects(ValueElement->AllowedDataClasses);
+ }
+ }
+
+ for (auto MapIt = ExtensionSubsystem->ExtensionMap.CreateIterator(); MapIt; ++MapIt)
+ {
+ for (const TSharedPtr& ValueElement : MapIt.Value())
+ {
+ Collector.AddReferencedObject(ValueElement->Data);
+ }
+ }
+ }
+}
+
+void UUIExtensionSubsystem::Initialize(FSubsystemCollectionBase& Collection)
+{
+ Super::Initialize(Collection);
+}
+
+void UUIExtensionSubsystem::Deinitialize()
+{
+ Super::Deinitialize();
+}
+
+FUIExtensionPointHandle UUIExtensionSubsystem::RegisterExtensionPoint(const FGameplayTag& ExtensionPointTag, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray& AllowedDataClasses, FExtendExtensionPointDelegate ExtensionCallback)
+{
+ return RegisterExtensionPointForContext(ExtensionPointTag, nullptr, ExtensionPointTagMatchType, AllowedDataClasses, ExtensionCallback);
+}
+
+FUIExtensionPointHandle UUIExtensionSubsystem::RegisterExtensionPointForContext(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray& AllowedDataClasses, FExtendExtensionPointDelegate ExtensionCallback)
+{
+ if (!ExtensionPointTag.IsValid())
+ {
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to register an invalid extension point."));
+ return FUIExtensionPointHandle();
+ }
+
+ if (!ExtensionCallback.IsBound())
+ {
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to register an invalid extension point."));
+ return FUIExtensionPointHandle();
+ }
+
+ if (AllowedDataClasses.Num() == 0)
+ {
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to register an invalid extension point."));
+ return FUIExtensionPointHandle();
+ }
+
+ FExtensionPointList& List = ExtensionPointMap.FindOrAdd(ExtensionPointTag);
+
+ TSharedPtr& Entry = List.Add_GetRef(MakeShared());
+ Entry->ExtensionPointTag = ExtensionPointTag;
+ Entry->ContextObject = ContextObject;
+ Entry->ExtensionPointTagMatchType = ExtensionPointTagMatchType;
+ Entry->AllowedDataClasses = AllowedDataClasses;
+ Entry->Callback = MoveTemp(ExtensionCallback);
+
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension Point [%s] Registered"), *ExtensionPointTag.ToString());
+
+ NotifyExtensionPointOfExtensions(Entry);
+
+ return FUIExtensionPointHandle(this, Entry);
+}
+
+FUIExtensionHandle UUIExtensionSubsystem::RegisterExtensionAsWidget(const FGameplayTag& ExtensionPointTag, TSubclassOf WidgetClass, int32 Priority)
+{
+ return RegisterExtensionAsData(ExtensionPointTag, nullptr, WidgetClass, Priority);
+}
+
+FUIExtensionHandle UUIExtensionSubsystem::RegisterExtensionAsWidgetForContext(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, TSubclassOf WidgetClass, int32 Priority)
+{
+ return RegisterExtensionAsData(ExtensionPointTag, ContextObject, WidgetClass, Priority);
+}
+
+FUIExtensionHandle UUIExtensionSubsystem::RegisterExtensionAsData(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, UObject* Data, int32 Priority)
+{
+ if (!ExtensionPointTag.IsValid())
+ {
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to register an invalid extension."));
+ return FUIExtensionHandle();
+ }
+
+ if (!Data)
+ {
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to register an invalid extension."));
+ return FUIExtensionHandle();
+ }
+
+ FExtensionList& List = ExtensionMap.FindOrAdd(ExtensionPointTag);
+
+ TSharedPtr& Entry = List.Add_GetRef(MakeShared());
+ Entry->ExtensionPointTag = ExtensionPointTag;
+ Entry->ContextObject = ContextObject;
+ Entry->Data = Data;
+ Entry->Priority = Priority;
+
+ if (ContextObject)
+ {
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension [%s] @ [%s] Registered"), *GetNameSafe(Data), *ExtensionPointTag.ToString());
+ }
+ else
+ {
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension [%s] for [%s] @ [%s] Registered"), *GetNameSafe(Data), *GetNameSafe(ContextObject), *ExtensionPointTag.ToString());
+ }
+
+ NotifyExtensionPointsOfExtension(EUIExtensionAction::Added, Entry);
+
+ return FUIExtensionHandle(this, Entry);
+}
+
+void UUIExtensionSubsystem::NotifyExtensionPointOfExtensions(TSharedPtr& ExtensionPoint)
+{
+ for (FGameplayTag Tag = ExtensionPoint->ExtensionPointTag; Tag.IsValid(); Tag = Tag.RequestDirectParent())
+ {
+ if (const FExtensionList* ListPtr = ExtensionMap.Find(Tag))
+ {
+ // Copy in case there are removals while handling callbacks
+ FExtensionList ExtensionArray(*ListPtr);
+
+ for (const TSharedPtr& Extension : ExtensionArray)
+ {
+ if (ExtensionPoint->DoesExtensionPassContract(Extension.Get()))
+ {
+ FUIExtensionRequest Request = CreateExtensionRequest(Extension);
+ ExtensionPoint->Callback.ExecuteIfBound(EUIExtensionAction::Added, Request);
+ }
+ }
+ }
+
+ if (ExtensionPoint->ExtensionPointTagMatchType == EUIExtensionPointMatch::ExactMatch)
+ {
+ break;
+ }
+ }
+}
+
+void UUIExtensionSubsystem::NotifyExtensionPointsOfExtension(EUIExtensionAction Action, TSharedPtr& Extension)
+{
+ bool bOnInitialTag = true;
+ for (FGameplayTag Tag = Extension->ExtensionPointTag; Tag.IsValid(); Tag = Tag.RequestDirectParent())
+ {
+ if (const FExtensionPointList* ListPtr = ExtensionPointMap.Find(Tag))
+ {
+ // Copy in case there are removals while handling callbacks
+ FExtensionPointList ExtensionPointArray(*ListPtr);
+
+ for (const TSharedPtr& ExtensionPoint : ExtensionPointArray)
+ {
+ if (bOnInitialTag || (ExtensionPoint->ExtensionPointTagMatchType == EUIExtensionPointMatch::PartialMatch))
+ {
+ if (ExtensionPoint->DoesExtensionPassContract(Extension.Get()))
+ {
+ FUIExtensionRequest Request = CreateExtensionRequest(Extension);
+ ExtensionPoint->Callback.ExecuteIfBound(Action, Request);
+ }
+ }
+ }
+ }
+
+ bOnInitialTag = false;
+ }
+}
+
+void UUIExtensionSubsystem::UnregisterExtension(const FUIExtensionHandle& ExtensionHandle)
+{
+ if (ExtensionHandle.IsValid())
+ {
+ checkf(ExtensionHandle.ExtensionSource == this, TEXT("Trying to unregister an extension that's not from this extension subsystem."));
+
+ TSharedPtr Extension = ExtensionHandle.DataPtr;
+ if (FExtensionList* ListPtr = ExtensionMap.Find(Extension->ExtensionPointTag))
+ {
+ if (Extension->ContextObject.IsExplicitlyNull())
+ {
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension [%s] @ [%s] Unregistered"), *GetNameSafe(Extension->Data), *Extension->ExtensionPointTag.ToString());
+ }
+ else
+ {
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension [%s] for [%s] @ [%s] Unregistered"), *GetNameSafe(Extension->Data), *GetNameSafe(Extension->ContextObject.Get()), *Extension->ExtensionPointTag.ToString());
+ }
+
+ NotifyExtensionPointsOfExtension(EUIExtensionAction::Removed, Extension);
+
+ ListPtr->RemoveSwap(Extension);
+
+ if (ListPtr->Num() == 0)
+ {
+ ExtensionMap.Remove(Extension->ExtensionPointTag);
+ }
+ }
+ }
+ else
+ {
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to unregister an invalid Handle."));
+ }
+}
+
+void UUIExtensionSubsystem::UnregisterExtensionPoint(const FUIExtensionPointHandle& ExtensionPointHandle)
+{
+ if (ExtensionPointHandle.IsValid())
+ {
+ check(ExtensionPointHandle.ExtensionSource == this);
+
+ const TSharedPtr ExtensionPoint = ExtensionPointHandle.DataPtr;
+ if (FExtensionPointList* ListPtr = ExtensionPointMap.Find(ExtensionPoint->ExtensionPointTag))
+ {
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension Point [%s] Unregistered"), *ExtensionPoint->ExtensionPointTag.ToString());
+
+ ListPtr->RemoveSwap(ExtensionPoint);
+ if (ListPtr->Num() == 0)
+ {
+ ExtensionPointMap.Remove(ExtensionPoint->ExtensionPointTag);
+ }
+ }
+ }
+ else
+ {
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to unregister an invalid Handle."));
+ }
+}
+
+FUIExtensionRequest UUIExtensionSubsystem::CreateExtensionRequest(const TSharedPtr& Extension)
+{
+ FUIExtensionRequest Request;
+ Request.ExtensionHandle = FUIExtensionHandle(this, Extension);
+ Request.ExtensionPointTag = Extension->ExtensionPointTag;
+ Request.Priority = Extension->Priority;
+ Request.Data = Extension->Data;
+ Request.ContextObject = Extension->ContextObject.Get();
+
+ return Request;
+}
+
+FUIExtensionPointHandle UUIExtensionSubsystem::K2_RegisterExtensionPoint(FGameplayTag ExtensionPointTag, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray& AllowedDataClasses, FExtendExtensionPointDynamicDelegate ExtensionCallback)
+{
+ return RegisterExtensionPoint(ExtensionPointTag, ExtensionPointTagMatchType, AllowedDataClasses, FExtendExtensionPointDelegate::CreateWeakLambda(ExtensionCallback.GetUObject(), [this, ExtensionCallback](EUIExtensionAction Action, const FUIExtensionRequest& Request) {
+ ExtensionCallback.ExecuteIfBound(Action, Request);
+ }));
+}
+
+FUIExtensionHandle UUIExtensionSubsystem::K2_RegisterExtensionAsWidget(FGameplayTag ExtensionPointTag, TSubclassOf WidgetClass, int32 Priority)
+{
+ return RegisterExtensionAsWidget(ExtensionPointTag, WidgetClass, Priority);
+}
+
+FUIExtensionHandle UUIExtensionSubsystem::K2_RegisterExtensionAsWidgetForContext(FGameplayTag ExtensionPointTag, TSubclassOf WidgetClass, UObject* ContextObject, int32 Priority)
+{
+ if (ContextObject)
+ {
+ return RegisterExtensionAsWidgetForContext(ExtensionPointTag, ContextObject, WidgetClass, Priority);
+ }
+ else
+ {
+ FFrame::KismetExecutionMessage(TEXT("A null ContextObject was passed to Register Extension (Widget For Context)"), ELogVerbosity::Error);
+ return FUIExtensionHandle();
+ }
+}
+
+FUIExtensionHandle UUIExtensionSubsystem::K2_RegisterExtensionAsData(FGameplayTag ExtensionPointTag, UObject* Data, int32 Priority)
+{
+ return RegisterExtensionAsData(ExtensionPointTag, nullptr, Data, Priority);
+}
+
+FUIExtensionHandle UUIExtensionSubsystem::K2_RegisterExtensionAsDataForContext(FGameplayTag ExtensionPointTag, UObject* ContextObject, UObject* Data, int32 Priority)
+{
+ if (ContextObject)
+ {
+ return RegisterExtensionAsData(ExtensionPointTag, ContextObject, Data, Priority);
+ }
+ else
+ {
+ FFrame::KismetExecutionMessage(TEXT("A null ContextObject was passed to Register Extension (Data For Context)"), ELogVerbosity::Error);
+ return FUIExtensionHandle();
+ }
+}
+
+//=========================================================
+
+void UUIExtensionHandleFunctions::Unregister(FUIExtensionHandle& Handle)
+{
+ Handle.Unregister();
+}
+
+bool UUIExtensionHandleFunctions::IsValid(FUIExtensionHandle& Handle)
+{
+ return Handle.IsValid();
+}
+
+//=========================================================
+
+void UUIExtensionPointHandleFunctions::Unregister(FUIExtensionPointHandle& Handle)
+{
+ Handle.Unregister();
+}
+
+bool UUIExtensionPointHandleFunctions::IsValid(FUIExtensionPointHandle& Handle)
+{
+ return Handle.IsValid();
+}
diff --git a/LyraStarterGame/Plugins/UIExtension/Source/Private/Widgets/UIExtensionPointWidget.cpp b/LyraStarterGame/Plugins/UIExtension/Source/Private/Widgets/UIExtensionPointWidget.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..2b97e5bfde3259d1f61c40d41501320800fa1d03
--- /dev/null
+++ b/LyraStarterGame/Plugins/UIExtension/Source/Private/Widgets/UIExtensionPointWidget.cpp
@@ -0,0 +1,177 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "Widgets/UIExtensionPointWidget.h"
+#include "Widgets/SOverlay.h"
+#include "Widgets/Text/STextBlock.h"
+#include "Editor/WidgetCompilerLog.h"
+#include "Misc/UObjectToken.h"
+#include "CommonLocalPlayer.h"
+#include "GameFramework/PlayerState.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(UIExtensionPointWidget)
+
+#define LOCTEXT_NAMESPACE "UIExtension"
+
+/////////////////////////////////////////////////////
+// UUIExtensionPointWidget
+
+UUIExtensionPointWidget::UUIExtensionPointWidget(const FObjectInitializer& ObjectInitializer)
+ : Super(ObjectInitializer)
+{
+
+}
+
+void UUIExtensionPointWidget::ReleaseSlateResources(bool bReleaseChildren)
+{
+ ResetExtensionPoint();
+
+ Super::ReleaseSlateResources(bReleaseChildren);
+}
+
+TSharedRef UUIExtensionPointWidget::RebuildWidget()
+{
+ if (!IsDesignTime() && ExtensionPointTag.IsValid())
+ {
+ ResetExtensionPoint();
+ RegisterExtensionPoint();
+
+ FDelegateHandle Handle = GetOwningLocalPlayer()->CallAndRegister_OnPlayerStateSet(
+ UCommonLocalPlayer::FPlayerStateSetDelegate::FDelegate::CreateUObject(this, &UUIExtensionPointWidget::RegisterExtensionPointForPlayerState)
+ );
+ }
+
+ if (IsDesignTime())
+ {
+ auto GetExtensionPointText = [this]()
+ {
+ return FText::Format(LOCTEXT("DesignTime_ExtensionPointLabel", "Extension Point\n{0}"), FText::FromName(ExtensionPointTag.GetTagName()));
+ };
+
+ TSharedRef MessageBox = SNew(SOverlay);
+
+ MessageBox->AddSlot()
+ .Padding(5.0f)
+ .HAlign(HAlign_Center)
+ .VAlign(VAlign_Center)
+ [
+ SNew(STextBlock)
+ .Justification(ETextJustify::Center)
+ .Text_Lambda(GetExtensionPointText)
+ ];
+
+ return MessageBox;
+ }
+ else
+ {
+ return Super::RebuildWidget();
+ }
+}
+
+void UUIExtensionPointWidget::ResetExtensionPoint()
+{
+ ResetInternal();
+
+ ExtensionMapping.Reset();
+ for (FUIExtensionPointHandle& Handle : ExtensionPointHandles)
+ {
+ Handle.Unregister();
+ }
+ ExtensionPointHandles.Reset();
+}
+
+void UUIExtensionPointWidget::RegisterExtensionPoint()
+{
+ if (UUIExtensionSubsystem* ExtensionSubsystem = GetWorld()->GetSubsystem())
+ {
+ TArray AllowedDataClasses;
+ AllowedDataClasses.Add(UUserWidget::StaticClass());
+ AllowedDataClasses.Append(DataClasses);
+
+ ExtensionPointHandles.Add(ExtensionSubsystem->RegisterExtensionPoint(
+ ExtensionPointTag, ExtensionPointTagMatch, AllowedDataClasses,
+ FExtendExtensionPointDelegate::CreateUObject(this, &ThisClass::OnAddOrRemoveExtension)
+ ));
+
+ ExtensionPointHandles.Add(ExtensionSubsystem->RegisterExtensionPointForContext(
+ ExtensionPointTag, GetOwningLocalPlayer(), ExtensionPointTagMatch, AllowedDataClasses,
+ FExtendExtensionPointDelegate::CreateUObject(this, &ThisClass::OnAddOrRemoveExtension)
+ ));
+ }
+}
+
+void UUIExtensionPointWidget::RegisterExtensionPointForPlayerState(UCommonLocalPlayer* LocalPlayer, APlayerState* PlayerState)
+{
+ if (UUIExtensionSubsystem* ExtensionSubsystem = GetWorld()->GetSubsystem())
+ {
+ TArray AllowedDataClasses;
+ AllowedDataClasses.Add(UUserWidget::StaticClass());
+ AllowedDataClasses.Append(DataClasses);
+
+ ExtensionPointHandles.Add(ExtensionSubsystem->RegisterExtensionPointForContext(
+ ExtensionPointTag, PlayerState, ExtensionPointTagMatch, AllowedDataClasses,
+ FExtendExtensionPointDelegate::CreateUObject(this, &ThisClass::OnAddOrRemoveExtension)
+ ));
+ }
+}
+
+void UUIExtensionPointWidget::OnAddOrRemoveExtension(EUIExtensionAction Action, const FUIExtensionRequest& Request)
+{
+ if (Action == EUIExtensionAction::Added)
+ {
+ UObject* Data = Request.Data;
+
+ TSubclassOf WidgetClass(Cast(Data));
+ if (WidgetClass)
+ {
+ UUserWidget* Widget = CreateEntryInternal(WidgetClass);
+ ExtensionMapping.Add(Request.ExtensionHandle, Widget);
+ }
+ else if (DataClasses.Num() > 0)
+ {
+ if (GetWidgetClassForData.IsBound())
+ {
+ WidgetClass = GetWidgetClassForData.Execute(Data);
+
+ // If the data is irrelevant they can just return no widget class.
+ if (WidgetClass)
+ {
+ if (UUserWidget* Widget = CreateEntryInternal(WidgetClass))
+ {
+ ExtensionMapping.Add(Request.ExtensionHandle, Widget);
+ ConfigureWidgetForData.ExecuteIfBound(Widget, Data);
+ }
+ }
+ }
+ }
+ }
+ else
+ {
+ if (UUserWidget* Extension = ExtensionMapping.FindRef(Request.ExtensionHandle))
+ {
+ RemoveEntryInternal(Extension);
+ ExtensionMapping.Remove(Request.ExtensionHandle);
+ }
+ }
+}
+
+#if WITH_EDITOR
+void UUIExtensionPointWidget::ValidateCompiledDefaults(IWidgetCompilerLog& CompileLog) const
+{
+ Super::ValidateCompiledDefaults(CompileLog);
+
+ // We don't care if the CDO doesn't have a specific tag.
+ if (!HasAnyFlags(RF_ClassDefaultObject))
+ {
+ if (!ExtensionPointTag.IsValid())
+ {
+ TSharedRef Message = CompileLog.Error(FText::Format(LOCTEXT("UUIExtensionPointWidget_NoTag", "{0} has no ExtensionPointTag specified - All extension points must specify a tag so they can be located."), FText::FromString(GetName())));
+ Message->AddToken(FUObjectToken::Create(this));
+ }
+ }
+}
+#endif
+
+/////////////////////////////////////////////////////
+
+#undef LOCTEXT_NAMESPACE
+
diff --git a/LyraStarterGame/Plugins/UIExtension/Source/Public/UIExtensionSystem.h b/LyraStarterGame/Plugins/UIExtension/Source/Public/UIExtensionSystem.h
new file mode 100644
index 0000000000000000000000000000000000000000..762fad305be8bd50f699ff5e86ed01cd4c2792cf
--- /dev/null
+++ b/LyraStarterGame/Plugins/UIExtension/Source/Public/UIExtensionSystem.h
@@ -0,0 +1,285 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "GameplayTagContainer.h"
+#include "Kismet/BlueprintFunctionLibrary.h"
+#include "Subsystems/WorldSubsystem.h"
+
+#include "UIExtensionSystem.generated.h"
+
+#define UE_API UIEXTENSION_API
+
+class UUIExtensionSubsystem;
+struct FUIExtensionRequest;
+template class TSubclassOf;
+
+class FSubsystemCollectionBase;
+class UUserWidget;
+struct FFrame;
+
+// Match rule for extension points
+UENUM(BlueprintType)
+enum class EUIExtensionPointMatch : uint8
+{
+ // An exact match will only receive extensions with exactly the same point
+ // (e.g., registering for "A.B" will match a broadcast of A.B but not A.B.C)
+ ExactMatch,
+
+ // A partial match will receive any extensions rooted in the same point
+ // (e.g., registering for "A.B" will match a broadcast of A.B as well as A.B.C)
+ PartialMatch
+};
+
+// Match rule for extension points
+UENUM(BlueprintType)
+enum class EUIExtensionAction : uint8
+{
+ Added,
+ Removed
+};
+
+DECLARE_DELEGATE_TwoParams(FExtendExtensionPointDelegate, EUIExtensionAction Action, const FUIExtensionRequest& Request);
+
+/*
+ *
+ */
+struct FUIExtension : TSharedFromThis
+{
+public:
+ /** The extension point this extension is intended for. */
+ FGameplayTag ExtensionPointTag;
+ int32 Priority = INDEX_NONE;
+ TWeakObjectPtr ContextObject;
+ //Kept alive by UUIExtensionSubsystem::AddReferencedObjects
+ TObjectPtr Data = nullptr;
+};
+
+/**
+ *
+ */
+struct FUIExtensionPoint : TSharedFromThis
+{
+public:
+ FGameplayTag ExtensionPointTag;
+ TWeakObjectPtr ContextObject;
+ EUIExtensionPointMatch ExtensionPointTagMatchType = EUIExtensionPointMatch::ExactMatch;
+ TArray> AllowedDataClasses;
+ FExtendExtensionPointDelegate Callback;
+
+ // Tests if the extension and the extension point match up, if they do then this extension point should learn
+ // about this extension.
+ bool DoesExtensionPassContract(const FUIExtension* Extension) const;
+};
+
+/**
+ *
+ */
+USTRUCT(BlueprintType)
+struct FUIExtensionPointHandle
+{
+ GENERATED_BODY()
+
+public:
+ FUIExtensionPointHandle() {}
+
+ UE_API void Unregister();
+
+ bool IsValid() const { return DataPtr.IsValid(); }
+
+ bool operator==(const FUIExtensionPointHandle& Other) const { return DataPtr == Other.DataPtr; }
+ bool operator!=(const FUIExtensionPointHandle& Other) const { return !operator==(Other); }
+
+ friend uint32 GetTypeHash(const FUIExtensionPointHandle& Handle)
+ {
+ return PointerHash(Handle.DataPtr.Get());
+ }
+
+private:
+ TWeakObjectPtr ExtensionSource;
+
+ TSharedPtr DataPtr;
+
+ friend UUIExtensionSubsystem;
+
+ FUIExtensionPointHandle(UUIExtensionSubsystem* InExtensionSource, const TSharedPtr& InDataPtr) : ExtensionSource(InExtensionSource), DataPtr(InDataPtr) {}
+};
+
+template<>
+struct TStructOpsTypeTraits : public TStructOpsTypeTraitsBase2
+{
+ enum
+ {
+ WithCopy = true, // This ensures the opaque type is copied correctly in BPs
+ WithIdenticalViaEquality = true,
+ };
+};
+
+/**
+ *
+ */
+USTRUCT(BlueprintType)
+struct FUIExtensionHandle
+{
+ GENERATED_BODY()
+
+public:
+ FUIExtensionHandle() {}
+
+ UE_API void Unregister();
+
+ bool IsValid() const { return DataPtr.IsValid(); }
+
+ bool operator==(const FUIExtensionHandle& Other) const { return DataPtr == Other.DataPtr; }
+ bool operator!=(const FUIExtensionHandle& Other) const { return !operator==(Other); }
+
+ friend FORCEINLINE uint32 GetTypeHash(FUIExtensionHandle Handle)
+ {
+ return PointerHash(Handle.DataPtr.Get());
+ }
+
+private:
+ TWeakObjectPtr ExtensionSource;
+
+ TSharedPtr DataPtr;
+
+ friend UUIExtensionSubsystem;
+
+ FUIExtensionHandle(UUIExtensionSubsystem* InExtensionSource, const TSharedPtr& InDataPtr) : ExtensionSource(InExtensionSource), DataPtr(InDataPtr) {}
+};
+
+template<>
+struct TStructOpsTypeTraits : public TStructOpsTypeTraitsBase2
+{
+ enum
+ {
+ WithCopy = true, // This ensures the opaque type is copied correctly in BPs
+ WithIdenticalViaEquality = true,
+ };
+};
+
+/**
+ *
+ */
+USTRUCT(BlueprintType)
+struct FUIExtensionRequest
+{
+ GENERATED_BODY()
+
+public:
+ UPROPERTY(EditAnywhere, BlueprintReadOnly)
+ FUIExtensionHandle ExtensionHandle;
+
+ UPROPERTY(EditAnywhere, BlueprintReadOnly)
+ FGameplayTag ExtensionPointTag;
+
+ UPROPERTY(EditAnywhere, BlueprintReadOnly)
+ int32 Priority = INDEX_NONE;
+
+ UPROPERTY(EditAnywhere, BlueprintReadOnly)
+ TObjectPtr Data = nullptr;
+
+ UPROPERTY(EditAnywhere, BlueprintReadOnly)
+ TObjectPtr ContextObject = nullptr;
+};
+
+DECLARE_DYNAMIC_DELEGATE_TwoParams(FExtendExtensionPointDynamicDelegate, EUIExtensionAction, Action, const FUIExtensionRequest&, ExtensionRequest);
+
+/**
+ *
+ */
+UCLASS(MinimalAPI)
+class UUIExtensionSubsystem : public UWorldSubsystem
+{
+ GENERATED_BODY()
+
+public:
+ UE_API FUIExtensionPointHandle RegisterExtensionPoint(const FGameplayTag& ExtensionPointTag, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray& AllowedDataClasses, FExtendExtensionPointDelegate ExtensionCallback);
+ UE_API FUIExtensionPointHandle RegisterExtensionPointForContext(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray& AllowedDataClasses, FExtendExtensionPointDelegate ExtensionCallback);
+
+ UE_API FUIExtensionHandle RegisterExtensionAsWidget(const FGameplayTag& ExtensionPointTag, TSubclassOf WidgetClass, int32 Priority);
+ UE_API FUIExtensionHandle RegisterExtensionAsWidgetForContext(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, TSubclassOf WidgetClass, int32 Priority);
+ UE_API FUIExtensionHandle RegisterExtensionAsData(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, UObject* Data, int32 Priority);
+
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
+ UE_API void UnregisterExtension(const FUIExtensionHandle& ExtensionHandle);
+
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
+ UE_API void UnregisterExtensionPoint(const FUIExtensionPointHandle& ExtensionPointHandle);
+
+ static UE_API void AddReferencedObjects(UObject* InThis, FReferenceCollector& Collector);
+
+protected:
+ UE_API virtual void Initialize(FSubsystemCollectionBase& Collection) override;
+ UE_API virtual void Deinitialize() override;
+
+ UE_API void NotifyExtensionPointOfExtensions(TSharedPtr& ExtensionPoint);
+ UE_API void NotifyExtensionPointsOfExtension(EUIExtensionAction Action, TSharedPtr& Extension);
+
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category="UI Extension", meta = (DisplayName = "Register Extension Point"))
+ UE_API FUIExtensionPointHandle K2_RegisterExtensionPoint(FGameplayTag ExtensionPointTag, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray& AllowedDataClasses, FExtendExtensionPointDynamicDelegate ExtensionCallback);
+
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension", meta = (DisplayName = "Register Extension (Widget)"))
+ UE_API FUIExtensionHandle K2_RegisterExtensionAsWidget(FGameplayTag ExtensionPointTag, TSubclassOf WidgetClass, int32 Priority = -1);
+
+ /**
+ * Registers the widget (as data) for a specific player. This means the extension points will receive a UIExtensionForPlayer data object
+ * that they can look at to determine if it's for whatever they consider their player.
+ */
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension", meta = (DisplayName = "Register Extension (Widget For Context)"))
+ UE_API FUIExtensionHandle K2_RegisterExtensionAsWidgetForContext(FGameplayTag ExtensionPointTag, TSubclassOf WidgetClass, UObject* ContextObject, int32 Priority = -1);
+
+ /**
+ * Registers the extension as data for any extension point that can make use of it.
+ */
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category="UI Extension", meta = (DisplayName = "Register Extension (Data)"))
+ UE_API FUIExtensionHandle K2_RegisterExtensionAsData(FGameplayTag ExtensionPointTag, UObject* Data, int32 Priority = -1);
+
+ /**
+ * Registers the extension as data for any extension point that can make use of it.
+ */
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category="UI Extension", meta = (DisplayName = "Register Extension (Data For Context)"))
+ UE_API FUIExtensionHandle K2_RegisterExtensionAsDataForContext(FGameplayTag ExtensionPointTag, UObject* ContextObject, UObject* Data, int32 Priority = -1);
+
+ UE_API FUIExtensionRequest CreateExtensionRequest(const TSharedPtr& Extension);
+
+private:
+ typedef TArray> FExtensionPointList;
+ TMap ExtensionPointMap;
+
+ typedef TArray> FExtensionList;
+ TMap ExtensionMap;
+};
+
+
+UCLASS(MinimalAPI)
+class UUIExtensionHandleFunctions : public UBlueprintFunctionLibrary
+{
+ GENERATED_BODY()
+
+public:
+ UUIExtensionHandleFunctions() { }
+
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
+ static UE_API void Unregister(UPARAM(ref) FUIExtensionHandle& Handle);
+
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
+ static UE_API bool IsValid(UPARAM(ref) FUIExtensionHandle& Handle);
+};
+
+UCLASS(MinimalAPI)
+class UUIExtensionPointHandleFunctions : public UBlueprintFunctionLibrary
+{
+ GENERATED_BODY()
+
+public:
+ UUIExtensionPointHandleFunctions() { }
+
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
+ static UE_API void Unregister(UPARAM(ref) FUIExtensionPointHandle& Handle);
+
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
+ static UE_API bool IsValid(UPARAM(ref) FUIExtensionPointHandle& Handle);
+};
+
+#undef UE_API
diff --git a/LyraStarterGame/Plugins/UIExtension/Source/Public/Widgets/UIExtensionPointWidget.h b/LyraStarterGame/Plugins/UIExtension/Source/Public/Widgets/UIExtensionPointWidget.h
new file mode 100644
index 0000000000000000000000000000000000000000..52a1ac7ca305ca28f644f10d70ee2cdfd5bd86f5
--- /dev/null
+++ b/LyraStarterGame/Plugins/UIExtension/Source/Public/Widgets/UIExtensionPointWidget.h
@@ -0,0 +1,70 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "Components/DynamicEntryBoxBase.h"
+#include "UIExtensionSystem.h"
+
+#include "UIExtensionPointWidget.generated.h"
+
+#define UE_API UIEXTENSION_API
+
+class IWidgetCompilerLog;
+
+class UCommonLocalPlayer;
+class APlayerState;
+
+/**
+ * A slot that defines a location in a layout, where content can be added later
+ */
+UCLASS(MinimalAPI)
+class UUIExtensionPointWidget : public UDynamicEntryBoxBase
+{
+ GENERATED_BODY()
+
+public:
+
+ DECLARE_DYNAMIC_DELEGATE_RetVal_OneParam(TSubclassOf, FOnGetWidgetClassForData, UObject*, DataItem);
+ DECLARE_DYNAMIC_DELEGATE_TwoParams(FOnConfigureWidgetForData, UUserWidget*, Widget, UObject*, DataItem);
+
+ UE_API UUIExtensionPointWidget(const FObjectInitializer& ObjectInitializer);
+
+ //~UWidget interface
+ UE_API virtual void ReleaseSlateResources(bool bReleaseChildren) override;
+ UE_API virtual TSharedRef RebuildWidget() override;
+#if WITH_EDITOR
+ UE_API virtual void ValidateCompiledDefaults(IWidgetCompilerLog& CompileLog) const override;
+#endif
+ //~End of UWidget interface
+
+private:
+ void ResetExtensionPoint();
+ void RegisterExtensionPoint();
+ void RegisterExtensionPointForPlayerState(UCommonLocalPlayer* LocalPlayer, APlayerState* PlayerState);
+ void OnAddOrRemoveExtension(EUIExtensionAction Action, const FUIExtensionRequest& Request);
+
+protected:
+ /** The tag that defines this extension point */
+ UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UI Extension")
+ FGameplayTag ExtensionPointTag;
+
+ /** How exactly does the extension need to match the extension point tag. */
+ UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UI Extension")
+ EUIExtensionPointMatch ExtensionPointTagMatch = EUIExtensionPointMatch::ExactMatch;
+
+ UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UI Extension")
+ TArray> DataClasses;
+
+ UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="UI Extension", meta=( IsBindableEvent="True" ))
+ FOnGetWidgetClassForData GetWidgetClassForData;
+
+ UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="UI Extension", meta=( IsBindableEvent="True" ))
+ FOnConfigureWidgetForData ConfigureWidgetForData;
+
+ TArray ExtensionPointHandles;
+
+ UPROPERTY(Transient)
+ TMap> ExtensionMapping;
+};
+
+#undef UE_API
diff --git a/LyraStarterGame/Plugins/UIExtension/Source/UIExtension.Build.cs b/LyraStarterGame/Plugins/UIExtension/Source/UIExtension.Build.cs
new file mode 100644
index 0000000000000000000000000000000000000000..7ff501183002775b7645b9979125bce24ee020dc
--- /dev/null
+++ b/LyraStarterGame/Plugins/UIExtension/Source/UIExtension.Build.cs
@@ -0,0 +1,36 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+using UnrealBuildTool;
+
+public class UIExtension : ModuleRules
+{
+ public UIExtension(ReadOnlyTargetRules Target) : base(Target)
+ {
+ PublicDependencyModuleNames.AddRange(
+ new string[]
+ {
+ "Core",
+ "CoreUObject",
+ "Engine",
+ "SlateCore",
+ "Slate",
+ "UMG",
+ "CommonUI",
+ "CommonGame",
+ "GameplayTags"
+ }
+ );
+
+ PublicIncludePathModuleNames.AddRange(
+ new string[] {
+ }
+ );
+
+ PrivateDependencyModuleNames.AddRange(
+ new string[]
+ {
+ // ... add private dependencies that you statically link with here ...
+ }
+ );
+ }
+}
diff --git a/LyraStarterGame/Plugins/UIExtension/UIExtension.uplugin b/LyraStarterGame/Plugins/UIExtension/UIExtension.uplugin
new file mode 100644
index 0000000000000000000000000000000000000000..2a438539fb09ad35f5aa4849c533153e134796d6
--- /dev/null
+++ b/LyraStarterGame/Plugins/UIExtension/UIExtension.uplugin
@@ -0,0 +1,36 @@
+{
+ "FileVersion": 3,
+ "Version": 1,
+ "VersionName": "1.0",
+ "FriendlyName": "UIExtension",
+ "Description": "A subsystem that allows extending UI elements in a modular way.",
+ "Category": "UI",
+ "CreatedBy": "Epic Games, Inc.",
+ "CreatedByURL": "http://epicgames.com",
+ "DocsURL": "",
+ "MarketplaceURL": "",
+ "SupportURL": "",
+ "EnabledByDefault": false,
+ "CanContainContent": false,
+ "IsBetaVersion": false,
+ "Installed": false,
+ "Modules": [
+ {
+ "Name": "UIExtension",
+ "Type": "Runtime",
+ "LoadingPhase": "Default"
+ }
+ ],
+ "Plugins": [
+ {
+ "Name": "CommonUI",
+ "Enabled": true
+ }
+ ],
+ "Plugins": [
+ {
+ "Name": "CommonGame",
+ "Enabled": true
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LyraStarterGame/Source/LyraClient.Target.cs b/LyraStarterGame/Source/LyraClient.Target.cs
new file mode 100644
index 0000000000000000000000000000000000000000..ec137cf7335305f037972ddccc2c51a0234ca32d
--- /dev/null
+++ b/LyraStarterGame/Source/LyraClient.Target.cs
@@ -0,0 +1,16 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+using UnrealBuildTool;
+using System.Collections.Generic;
+
+public class LyraClientTarget : TargetRules
+{
+ public LyraClientTarget(TargetInfo Target) : base(Target)
+ {
+ Type = TargetType.Client;
+
+ ExtraModuleNames.AddRange(new string[] { "LyraGame" });
+
+ LyraGameTarget.ApplySharedLyraTargetSettings(this);
+ }
+}
diff --git a/LyraStarterGame/Source/LyraEditor.Target.cs b/LyraStarterGame/Source/LyraEditor.Target.cs
new file mode 100644
index 0000000000000000000000000000000000000000..53ef68bcc34014e89bf24a9beca34cb8494413c9
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor.Target.cs
@@ -0,0 +1,24 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+using UnrealBuildTool;
+using System.Collections.Generic;
+
+public class LyraEditorTarget : TargetRules
+{
+ public LyraEditorTarget(TargetInfo Target) : base(Target)
+ {
+ Type = TargetType.Editor;
+
+ ExtraModuleNames.AddRange(new string[] { "LyraGame", "LyraEditor" });
+
+ if (!bBuildAllModules)
+ {
+ NativePointerMemberBehaviorOverride = PointerMemberBehavior.Disallow;
+ }
+
+ LyraGameTarget.ApplySharedLyraTargetSettings(this);
+
+ // This is used for touch screen development along with the "Unreal Remote 2" app
+ EnablePlugins.Add("RemoteSession");
+ }
+}
diff --git a/LyraStarterGame/Source/LyraEditor/Commandlets/ContentValidationCommandlet.cpp b/LyraStarterGame/Source/LyraEditor/Commandlets/ContentValidationCommandlet.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..bc0d421fe9b0e473bfff8bd8239707fa58624437
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Commandlets/ContentValidationCommandlet.cpp
@@ -0,0 +1,429 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "ContentValidationCommandlet.h"
+
+#include "AssetRegistry/ARFilter.h"
+#include "AssetRegistry/AssetData.h"
+#include "AssetRegistry/AssetRegistryModule.h"
+#include "DataValidationModule.h"
+#include "Interfaces/IPluginManager.h"
+#include "Misc/CommandLine.h"
+#include "Misc/ConfigCacheIni.h"
+#include "ShaderCompiler.h"
+#include "SourceControlHelpers.h"
+#include "Validation/EditorValidator.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(ContentValidationCommandlet)
+
+DEFINE_LOG_CATEGORY_STATIC(LogLyraContentValidation, Log, Log);
+
+class FScopedContentValidationMessageGatherer : public FOutputDevice
+{
+public:
+
+ FScopedContentValidationMessageGatherer()
+ : bAtLeastOneError(false)
+ {
+ GLog->AddOutputDevice(this);
+ }
+
+ ~FScopedContentValidationMessageGatherer()
+ {
+ GLog->RemoveOutputDevice(this);
+ }
+
+ virtual void Serialize(const TCHAR* V, ELogVerbosity::Type Verbosity, const class FName& Category) override
+ {
+ if (Verbosity <= ELogVerbosity::Error)
+ {
+ bAtLeastOneError = true;
+ }
+ }
+
+ bool bAtLeastOneError;
+};
+
+UContentValidationCommandlet::UContentValidationCommandlet(const FObjectInitializer& ObjectInitializer)
+ : Super(ObjectInitializer)
+{
+}
+
+int32 UContentValidationCommandlet::Main(const FString& FullCommandLine)
+{
+ UE_LOG(LogLyraContentValidation, Display, TEXT("Running ContentValidationCommandlet commandlet..."));
+
+ TArray Tokens;
+ TArray Switches;
+ TMap Params;
+ ParseCommandLine(*FullCommandLine, Tokens, Switches, Params);
+
+ FAssetRegistryModule& AssetRegistryModule = FModuleManager::LoadModuleChecked("AssetRegistry");
+ IAssetRegistry& AssetRegistry = AssetRegistryModule.Get();
+ AssetRegistry.SearchAllAssets(true);
+
+ int32 ReturnVal = 0;
+
+ TArray ChangedPackageNames;
+ TArray DeletedPackageNames;
+ TArray ChangedCode;
+ TArray ChangedOtherFiles;
+ FString* P4FilterString = Params.Find(TEXT("P4Filter"));
+ if (P4FilterString && !P4FilterString->IsEmpty())
+ {
+ FString P4CmdString = TEXT("files ") + *P4FilterString;
+ if (!GetAllChangedFiles(AssetRegistry, P4CmdString, ChangedPackageNames, DeletedPackageNames, ChangedCode, ChangedOtherFiles))
+ {
+ UE_LOG(LogLyraContentValidation, Display, TEXT("ContentValidation returning 1. Failed to get changed files."));
+ ReturnVal = 1;
+ }
+ }
+
+ FString* P4ChangelistString = Params.Find(TEXT("P4Changelist"));
+ if (P4ChangelistString && !P4ChangelistString->IsEmpty())
+ {
+ FString P4CmdString = TEXT("opened -c ") + *P4ChangelistString;
+ if (!GetAllChangedFiles(AssetRegistry, P4CmdString, ChangedPackageNames, DeletedPackageNames, ChangedCode, ChangedOtherFiles))
+ {
+ UE_LOG(LogLyraContentValidation, Display, TEXT("ContentValidation returning 1. Failed to get changed files."));
+ ReturnVal = 1;
+ }
+ }
+
+ bool bP4Opened = Switches.Contains(TEXT("P4Opened"));
+ if (bP4Opened)
+ {
+ check(GConfig);
+
+ FString Workspace;
+ FString* P4ClientString = Params.Find(TEXT("P4Client"));
+
+ if (P4ClientString && !P4ClientString->IsEmpty())
+ {
+ Workspace = *P4ClientString;
+ }
+ else
+ {
+ const FString& SSCIniFile = SourceControlHelpers::GetSettingsIni();
+ GConfig->GetString(TEXT("PerforceSourceControl.PerforceSourceControlSettings"), TEXT("Workspace"), Workspace, SSCIniFile);
+ }
+
+ if (!Workspace.IsEmpty())
+ {
+ FString P4CmdString = FString::Printf(TEXT("-c%s opened"), *Workspace);
+ if (!GetAllChangedFiles(AssetRegistry, P4CmdString, ChangedPackageNames, DeletedPackageNames, ChangedCode, ChangedOtherFiles))
+ {
+ UE_LOG(LogLyraContentValidation, Display, TEXT("ContentValidation returning 1. Failed to get changed files."));
+ ReturnVal = 1;
+ }
+ }
+ else
+ {
+ UE_LOG(LogLyraContentValidation, Error, TEXT("P4 workspace was not found when using P4Opened"));
+ UE_LOG(LogLyraContentValidation, Display, TEXT("ContentValidation returning 1. Workspace not found."));
+ ReturnVal = 1;
+ }
+ }
+
+ int32 MaxPackagesToLoad = 2000;
+
+ FString* InPathString = Params.Find(TEXT("InPath"));
+ if (InPathString && !InPathString->IsEmpty())
+ {
+ GetAllPackagesInPath(AssetRegistry, *InPathString, ChangedPackageNames);
+ }
+
+ FString* OfTypeString = Params.Find(TEXT("OfType"));
+ if (OfTypeString && !OfTypeString->IsEmpty())
+ {
+ const int32 InitialPackages = ChangedPackageNames.Num();
+ GetAllPackagesOfType(*OfTypeString, ChangedPackageNames);
+ MaxPackagesToLoad += ChangedPackageNames.Num() - InitialPackages;
+ }
+
+ FString* SpecificPackagesString = Params.Find(TEXT("Packages"));
+ if (SpecificPackagesString && !SpecificPackagesString->IsEmpty())
+ {
+ TArray PackagePaths;
+ SpecificPackagesString->ParseIntoArray(PackagePaths, TEXT("+"));
+ ChangedPackageNames.Append(PackagePaths);
+ }
+
+ // We will be flushing shader compile as we load materials, so don't let other shader warnings be attributed incorrectly to the package that is loading.
+ if (GShaderCompilingManager)
+ {
+ GShaderCompilingManager->FinishAllCompilation();
+ }
+
+ FString* InMaxPackagesToLoadString = Params.Find(TEXT("MaxPackagesToLoad"));
+ if (InMaxPackagesToLoadString)
+ {
+ MaxPackagesToLoad = FCString::Atoi(**InMaxPackagesToLoadString);
+ }
+
+ TArray AllWarningsAndErrors;
+ UEditorValidator::ValidatePackages(ChangedPackageNames, DeletedPackageNames, MaxPackagesToLoad, AllWarningsAndErrors, EDataValidationUsecase::Commandlet);
+
+ if (!UEditorValidator::ValidateProjectSettings())
+ {
+ ReturnVal = 1;
+ }
+
+ return ReturnVal;
+}
+
+bool UContentValidationCommandlet::GetAllChangedFiles(IAssetRegistry& AssetRegistry, const FString& P4CmdString, TArray& OutChangedPackageNames, TArray& DeletedPackageNames, TArray& OutChangedCode, TArray& OutChangedOtherFiles) const
+{
+ TArray Results;
+ int32 ReturnCode = 0;
+ if (LaunchP4(P4CmdString, Results, ReturnCode))
+ {
+ if (ReturnCode == 0)
+ {
+ for (const FString& Result : Results)
+ {
+ FString DepotPathName;
+ FString ExtraInfoAfterPound;
+ if (Result.Split(TEXT("#"), &DepotPathName, &ExtraInfoAfterPound))
+ {
+ if (DepotPathName.EndsWith(TEXT(".uasset")) || DepotPathName.EndsWith(TEXT(".umap")))
+ {
+ FString FullPackageName;
+ {
+ // Check for /Game/ assets
+ FString PostContentPath;
+ if (DepotPathName.Split(TEXT("LyraGame/Content/"), nullptr, &PostContentPath)) //@TODO: RENAME: Potential issue when modules are renamed
+ {
+ if (!PostContentPath.IsEmpty())
+ {
+ const FString PostContentPathWithoutExtension = FPaths::GetBaseFilename(PostContentPath, false);
+ FString PackageNameToTest = TEXT("/Game/") + PostContentPathWithoutExtension;
+ if (!UEditorValidator::IsInUncookedFolder(PackageNameToTest))
+ {
+ FullPackageName = PackageNameToTest;
+ }
+ }
+ }
+ }
+
+ if (FullPackageName.IsEmpty())
+ {
+ // Check for plugin assets
+ FString PostPluginsPath;
+ if (DepotPathName.Split(TEXT("LyraGame/Plugins/"), nullptr, &PostPluginsPath))
+ {
+ const int32 ContentFolderIdx = PostPluginsPath.Find(TEXT("/Content/"));
+ if (ContentFolderIdx != INDEX_NONE)
+ {
+ int32 PluginFolderIdx = PostPluginsPath.Find(TEXT("/"), ESearchCase::CaseSensitive, ESearchDir::FromEnd, ContentFolderIdx - 1);
+ if (PluginFolderIdx == INDEX_NONE)
+ {
+ // No leading /. Directly in the /Plugins/ folder
+ PluginFolderIdx = 0;
+ }
+ else
+ {
+ // Skip the leading /. A subfolder in the /Plugins/ folder
+ PluginFolderIdx++;
+ }
+
+ const int32 PostContentFolderIdx = ContentFolderIdx + FCString::Strlen(TEXT("/Content/"));
+ const FString PostContentPath = PostPluginsPath.RightChop(PostContentFolderIdx);
+ const FString PluginName = PostPluginsPath.Mid(PluginFolderIdx, ContentFolderIdx - PluginFolderIdx);
+ if (!PostContentPath.IsEmpty() && !PluginName.IsEmpty())
+ {
+ TSharedPtr Plugin = IPluginManager::Get().FindPlugin(PluginName);
+ if (Plugin.IsValid() && Plugin->IsEnabled())
+ {
+ const FString PostContentPathWithoutExtension = FPaths::GetBaseFilename(PostContentPath, false);
+ FullPackageName = FString::Printf(TEXT("/%s/%s"), *PluginName, *PostContentPathWithoutExtension);
+ }
+ }
+ }
+ }
+ }
+
+ if (!FullPackageName.IsEmpty())
+ {
+ if (ExtraInfoAfterPound.Contains(TEXT("delete")))
+ {
+ DeletedPackageNames.AddUnique(FullPackageName);
+ }
+ else
+ {
+ OutChangedPackageNames.AddUnique(FullPackageName);
+ }
+ }
+ }
+ else
+ {
+ FString PostLyraGamePath;
+ if (DepotPathName.Split(TEXT("/LyraGame/"), nullptr, &PostLyraGamePath))
+ {
+ if (DepotPathName.EndsWith(TEXT(".cpp")))
+ {
+ OutChangedCode.Add(PostLyraGamePath);
+ }
+ else if (DepotPathName.EndsWith(TEXT(".h")))
+ {
+ OutChangedCode.Add(PostLyraGamePath);
+
+ FString ChangedHeaderLocalFilename = GetLocalPathFromDepotPath(DepotPathName);
+ if (!ChangedHeaderLocalFilename.IsEmpty())
+ {
+ UEditorValidator::GetChangedAssetsForCode(AssetRegistry, ChangedHeaderLocalFilename, OutChangedPackageNames);
+ }
+ }
+ else
+ {
+ OutChangedOtherFiles.Add(PostLyraGamePath);
+ }
+ }
+ }
+ }
+ }
+
+ return true;
+ }
+ else
+ {
+ UE_LOG(LogLyraContentValidation, Error, TEXT("p4 returned non-zero return code %d"), ReturnCode);
+ }
+ }
+
+ return false;
+}
+
+void UContentValidationCommandlet::GetAllPackagesInPath(IAssetRegistry& AssetRegistry, const FString& InPathString, TArray& OutPackageNames) const
+{
+ TArray Paths;
+ InPathString.ParseIntoArray(Paths, TEXT("+"));
+
+ FARFilter Filter;
+ Filter.bRecursivePaths = true;
+ Filter.bIncludeOnlyOnDiskAssets = true;
+
+ for (const FString& Path : Paths)
+ {
+ Filter.PackagePaths.Add(FName(*Path));
+ }
+
+ TArray AssetsInPaths;
+ if (AssetRegistry.GetAssets(Filter, AssetsInPaths))
+ {
+ for (const FAssetData& AssetData : AssetsInPaths)
+ {
+ OutPackageNames.Add(AssetData.PackageName.ToString());
+ }
+ }
+}
+
+void UContentValidationCommandlet::GetAllPackagesOfType(const FString& OfTypeString, TArray& OutPackageNames) const
+{
+ FAssetRegistryModule& AssetRegistryModule = FModuleManager::LoadModuleChecked(TEXT("AssetRegistry"));
+ IAssetRegistry& AssetRegistry = AssetRegistryModule.Get();
+
+ TArray Types;
+ OfTypeString.ParseIntoArray(Types, TEXT("+"));
+
+ FARFilter Filter;
+ Filter.bRecursivePaths = true;
+ Filter.bIncludeOnlyOnDiskAssets = true;
+
+ for (const FString& Type : Types)
+ {
+ FTopLevelAssetPath TypePathName = UClass::TryConvertShortTypeNameToPathName(Type, ELogVerbosity::Error, TEXT("UContentValidationCommandlet"));
+ if (TypePathName.IsNull())
+ {
+ UE_LOG(LogLyraContentValidation, Error, TEXT("Failed to convert short class name \"%s\" to path name. Please use class path names."), *Type);
+ }
+ else
+ {
+ Filter.ClassPaths.Add(TypePathName);
+ }
+ }
+
+ TArray AssetsOfType;
+ if (AssetRegistry.GetAssets(Filter, AssetsOfType))
+ {
+ for (const FAssetData& AssetData : AssetsOfType)
+ {
+ OutPackageNames.Add(AssetData.PackageName.ToString());
+ }
+ }
+}
+
+bool UContentValidationCommandlet::LaunchP4(const FString& Args, TArray& Output, int32& OutReturnCode) const
+{
+ void* PipeRead = nullptr;
+ void* PipeWrite = nullptr;
+
+ verify(FPlatformProcess::CreatePipe(PipeRead, PipeWrite));
+
+ bool bInvoked = false;
+ OutReturnCode = -1;
+ FString StringOutput;
+ FProcHandle ProcHandle = FPlatformProcess::CreateProc(TEXT("p4.exe"), *Args, false, true, true, nullptr, 0, nullptr, PipeWrite);
+ if (ProcHandle.IsValid())
+ {
+ while (FPlatformProcess::IsProcRunning(ProcHandle))
+ {
+ StringOutput += FPlatformProcess::ReadPipe(PipeRead);
+ FPlatformProcess::Sleep(0.1f);
+ }
+
+ StringOutput += FPlatformProcess::ReadPipe(PipeRead);
+ FPlatformProcess::GetProcReturnCode(ProcHandle, &OutReturnCode);
+ bInvoked = true;
+ }
+ else
+ {
+ UE_LOG(LogLyraContentValidation, Error, TEXT("Failed to launch p4."));
+ }
+
+ FPlatformProcess::ClosePipe(PipeRead, PipeWrite);
+
+ StringOutput.ParseIntoArrayLines(Output);
+
+ return bInvoked;
+}
+
+FString UContentValidationCommandlet::GetLocalPathFromDepotPath(const FString& DepotPathName) const
+{
+ FString ReturnString;
+
+ const FString& SSCIniFile = SourceControlHelpers::GetSettingsIni();
+ FString Workspace;
+ GConfig->GetString(TEXT("PerforceSourceControl.PerforceSourceControlSettings"), TEXT("Workspace"), Workspace, SSCIniFile);
+
+ if (Workspace.IsEmpty())
+ {
+ FString ParameterValue;
+ if (FParse::Value(FCommandLine::Get(), TEXT("P4Client="), ParameterValue))
+ {
+ Workspace = ParameterValue;
+ }
+ }
+
+ if (!Workspace.IsEmpty())
+ {
+ TArray WhereResults;
+ int32 ReturnCode = 0;
+ FString P4WhereCommand = FString::Printf(TEXT("-ztag -c%s where %s"), *Workspace, *DepotPathName);
+ if (LaunchP4(P4WhereCommand, WhereResults, ReturnCode))
+ {
+ if (WhereResults.Num() >= 2)
+ {
+ ReturnString = WhereResults[2];
+ ReturnString.RemoveFromStart(TEXT("... path "));
+ FPaths::NormalizeFilename(ReturnString);
+ }
+ else
+ {
+ UE_LOG(LogLyraContentValidation, Warning, TEXT("GetAllChangedFiles failed to run p4 'where'. WhereResults[0] = '%s'. Not adding any validation for %s"), WhereResults.Num() > 0 ? *WhereResults[0] : TEXT("Invalid"), *DepotPathName);
+ }
+ }
+ }
+
+ return ReturnString;
+}
+
diff --git a/LyraStarterGame/Source/LyraEditor/Commandlets/ContentValidationCommandlet.h b/LyraStarterGame/Source/LyraEditor/Commandlets/ContentValidationCommandlet.h
new file mode 100644
index 0000000000000000000000000000000000000000..bb52630160e76d371a9c0412d35444f5db3d85c9
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Commandlets/ContentValidationCommandlet.h
@@ -0,0 +1,35 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "Commandlets/Commandlet.h"
+
+#include "ContentValidationCommandlet.generated.h"
+
+class IAssetRegistry;
+class UObject;
+
+UCLASS()
+class UContentValidationCommandlet : public UCommandlet
+{
+ GENERATED_UCLASS_BODY()
+
+public:
+ // Begin UCommandlet Interface
+ virtual int32 Main(const FString& Params) override;
+ // End UCommandlet Interface
+
+private:
+ /** Validate steps */
+ bool AutoExportMCPTemplates(const TArray& ChangedPackageNames, const TArray& DeletedPackageNames, const TArray& ChangedCode, const TArray& ChangedOtherFiles, const FString& SyncedCL, const FString& Robomerge, bool& bOutDidExport);
+ bool AutoExportDadContent(const FString& BuildCL, const FString& AccessToken);
+ bool AutoPersistDadContent(const FString& AccessToken);
+
+private:
+ /** Helper functions */
+ bool GetAllChangedFiles(IAssetRegistry& AssetRegistry, const FString& P4CmdString, TArray& OutChangedPackageNames, TArray& DeletedPackageNames, TArray& OutChangedCode, TArray& OutChangedOtherFiles) const;
+ void GetAllPackagesInPath(IAssetRegistry& AssetRegistry, const FString& InPathString, TArray& OutPackageNames) const;
+ void GetAllPackagesOfType(const FString& OfTypeString, TArray& OutPackageNames) const;
+ bool LaunchP4(const FString& Args, TArray& Output, int32& OutReturnCode) const;
+ FString GetLocalPathFromDepotPath(const FString& DepotPathName) const;
+};
diff --git a/LyraStarterGame/Source/LyraEditor/LyraEditor.Build.cs b/LyraStarterGame/Source/LyraEditor/LyraEditor.Build.cs
new file mode 100644
index 0000000000000000000000000000000000000000..68147439a0ffc164f22b095e99b6bffcb2941f14
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/LyraEditor.Build.cs
@@ -0,0 +1,77 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+using UnrealBuildTool;
+
+public class LyraEditor : ModuleRules
+{
+ public LyraEditor(ReadOnlyTargetRules Target) : base(Target)
+ {
+ PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
+
+ PublicIncludePaths.AddRange(
+ new string[] {
+ "LyraEditor"
+ }
+ );
+
+ PrivateIncludePaths.AddRange(
+ new string[] {
+ }
+ );
+
+ PublicDependencyModuleNames.AddRange(
+ new string[] {
+ "Core",
+ "CoreUObject",
+ "Engine",
+ "EditorFramework",
+ "UnrealEd",
+ "PhysicsCore",
+ "GameplayTagsEditor",
+ "GameplayTasksEditor",
+ "GameplayAbilities",
+ "GameplayAbilitiesEditor",
+ "StudioTelemetry",
+ "LyraGame",
+ }
+ );
+
+ PrivateDependencyModuleNames.AddRange(
+ new string[] {
+ "InputCore",
+ "Slate",
+ "SlateCore",
+ "ToolMenus",
+ "EditorStyle",
+ "DataValidation",
+ "MessageLog",
+ "Projects",
+ "DeveloperToolSettings",
+ "CollectionManager",
+ "SourceControl",
+ "Chaos"
+ }
+ );
+
+ DynamicallyLoadedModuleNames.AddRange(
+ new string[] {
+ }
+ );
+ // Basic setup for External RPC Framework.
+ // Functionality within framework will be stripped in shipping to remove vulnerabilities.
+ PrivateDependencyModuleNames.Add("ExternalRpcRegistry");
+ if (Target.Configuration == UnrealTargetConfiguration.Shipping)
+ {
+ PublicDefinitions.Add("WITH_RPC_REGISTRY=0");
+ PublicDefinitions.Add("WITH_HTTPSERVER_LISTENERS=0");
+ }
+ else
+ {
+ PrivateDependencyModuleNames.Add("HTTPServer");
+ PublicDefinitions.Add("WITH_RPC_REGISTRY=1");
+ PublicDefinitions.Add("WITH_HTTPSERVER_LISTENERS=1");
+ }
+ // Generate compile errors if using DrawDebug functions in test/shipping builds.
+ PublicDefinitions.Add("SHIPPING_DRAW_DEBUG_ERROR=1");
+ }
+}
diff --git a/LyraStarterGame/Source/LyraEditor/LyraEditor.cpp b/LyraStarterGame/Source/LyraEditor/LyraEditor.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..a25a3c58e0b8589fc31ac97518dfd63d3caf1119
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/LyraEditor.cpp
@@ -0,0 +1,310 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "LyraEditor.h"
+
+#include "AbilitySystemGlobals.h"
+#include "DataValidationModule.h"
+#include "Development/LyraDeveloperSettings.h"
+#include "Editor/UnrealEdEngine.h"
+#include "Engine/GameInstance.h"
+#include "Framework/Application/SlateApplication.h"
+#include "Framework/MultiBox/MultiBoxBuilder.h"
+#include "GameEditorStyle.h"
+#include "GameModes/LyraExperienceManager.h"
+#include "GameplayAbilitiesEditorModule.h"
+#include "GameplayCueInterface.h"
+#include "GameplayCueNotify_Burst.h"
+#include "GameplayCueNotify_BurstLatent.h"
+#include "GameplayCueNotify_Looping.h"
+#include "Private/AssetTypeActions_LyraContextEffectsLibrary.h"
+#include "ToolMenu.h"
+#include "ToolMenus.h"
+#include "UObject/UObjectIterator.h"
+#include "UnrealEdGlobals.h"
+#include "Validation/EditorValidator.h"
+
+class SWidget;
+
+#define LOCTEXT_NAMESPACE "LyraEditor"
+
+DEFINE_LOG_CATEGORY(LogLyraEditor);
+
+// This function tells the GameplayCue editor what classes to expose when creating new notifies.
+static void GetGameplayCueDefaultClasses(TArray& Classes)
+{
+ Classes.Empty();
+ Classes.Add(UGameplayCueNotify_Burst::StaticClass());
+ Classes.Add(AGameplayCueNotify_BurstLatent::StaticClass());
+ Classes.Add(AGameplayCueNotify_Looping::StaticClass());
+}
+
+// This function tells the GameplayCue editor what classes to search for GameplayCue events.
+static void GetGameplayCueInterfaceClasses(TArray& Classes)
+{
+ Classes.Empty();
+
+ for (UClass* Class : TObjectRange())
+ {
+ if (Class->IsChildOf() && Class->ImplementsInterface(UGameplayCueInterface::StaticClass()))
+ {
+ Classes.Add(Class);
+ }
+ }
+}
+
+// This function tells the GameplayCue editor where to create the GameplayCue notifies based on their tag.
+static FString GetGameplayCuePath(FString GameplayCueTag)
+{
+ FString Path = FString(TEXT("/Game"));
+
+ //@TODO: Try plugins (e.g., GameplayCue.ShooterGame.Foo should be in ShooterCore or something)
+
+ // Default path to the first entry in the UAbilitySystemGlobals::GameplayCueNotifyPaths.
+ if (IGameplayAbilitiesModule::IsAvailable())
+ {
+ IGameplayAbilitiesModule& GameplayAbilitiesModule = IGameplayAbilitiesModule::Get();
+
+ if (GameplayAbilitiesModule.IsAbilitySystemGlobalsAvailable())
+ {
+ UAbilitySystemGlobals* AbilitySystemGlobals = GameplayAbilitiesModule.GetAbilitySystemGlobals();
+ check(AbilitySystemGlobals);
+
+ TArray GetGameplayCueNotifyPaths = AbilitySystemGlobals->GetGameplayCueNotifyPaths();
+
+ if (GetGameplayCueNotifyPaths.Num() > 0)
+ {
+ Path = GetGameplayCueNotifyPaths[0];
+ }
+ }
+ }
+
+ GameplayCueTag.RemoveFromStart(TEXT("GameplayCue."));
+
+ FString NewDefaultPathName = FString::Printf(TEXT("%s/GCN_%s"), *Path, *GameplayCueTag);
+
+ return NewDefaultPathName;
+}
+
+static bool HasPlayWorld()
+{
+ return GEditor->PlayWorld != nullptr;
+}
+
+static bool HasNoPlayWorld()
+{
+ return !HasPlayWorld();
+}
+
+static bool HasPlayWorldAndRunning()
+{
+ return HasPlayWorld() && !GUnrealEd->PlayWorld->bDebugPauseExecution;
+}
+
+static void OpenCommonMap_Clicked(const FString MapPath)
+{
+ if (ensure(MapPath.Len()))
+ {
+ GEditor->GetEditorSubsystem()->OpenEditorForAsset(MapPath);
+ }
+}
+
+static bool CanShowCommonMaps()
+{
+ return HasNoPlayWorld() && !GetDefault()->CommonEditorMaps.IsEmpty();
+}
+
+static TSharedRef GetCommonMapsDropdown()
+{
+ FMenuBuilder MenuBuilder(true, nullptr);
+
+ for (const FSoftObjectPath& Path : GetDefault()->CommonEditorMaps)
+ {
+ if (!Path.IsValid())
+ {
+ continue;
+ }
+
+ const FText DisplayName = FText::FromString(Path.GetAssetName());
+ MenuBuilder.AddMenuEntry(
+ DisplayName,
+ LOCTEXT("CommonPathDescription", "Opens this map in the editor"),
+ FSlateIcon(),
+ FUIAction(
+ FExecuteAction::CreateStatic(&OpenCommonMap_Clicked, Path.ToString()),
+ FCanExecuteAction::CreateStatic(&HasNoPlayWorld),
+ FIsActionChecked(),
+ FIsActionButtonVisible::CreateStatic(&HasNoPlayWorld)
+ )
+ );
+ }
+
+ return MenuBuilder.MakeWidget();
+}
+
+static void CheckGameContent_Clicked()
+{
+ UEditorValidator::ValidateCheckedOutContent(/*bInteractive=*/true, EDataValidationUsecase::Manual);
+}
+
+static void RegisterGameEditorMenus()
+{
+ UToolMenu* Menu = UToolMenus::Get()->ExtendMenu("LevelEditor.LevelEditorToolBar.PlayToolBar");
+ FToolMenuSection& Section = Menu->AddSection("PlayGameExtensions", TAttribute(), FToolMenuInsert("Play", EToolMenuInsertType::After));
+
+ // Uncomment this to add a custom toolbar that is displayed during PIE
+ // Useful for making easy access to changing game state artificially, adding cheats, etc
+ // FToolMenuEntry BlueprintEntry = FToolMenuEntry::InitComboButton(
+ // "OpenGameMenu",
+ // FUIAction(
+ // FExecuteAction(),
+ // FCanExecuteAction::CreateStatic(&HasPlayWorld),
+ // FIsActionChecked(),
+ // FIsActionButtonVisible::CreateStatic(&HasPlayWorld)),
+ // FOnGetContent::CreateStatic(&YourCustomMenu),
+ // LOCTEXT("GameOptions_Label", "Game Options"),
+ // LOCTEXT("GameOptions_ToolTip", "Game Options"),
+ // FSlateIcon(FAppStyle::GetAppStyleSetName(), "LevelEditor.OpenLevelBlueprint")
+ // );
+ // BlueprintEntry.StyleNameOverride = "CalloutToolbar";
+ // Section.AddEntry(BlueprintEntry);
+
+ FToolMenuEntry CheckContentEntry = FToolMenuEntry::InitToolBarButton(
+ "CheckContent",
+ FUIAction(
+ FExecuteAction::CreateStatic(&CheckGameContent_Clicked),
+ FCanExecuteAction::CreateStatic(&HasNoPlayWorld),
+ FIsActionChecked(),
+ FIsActionButtonVisible::CreateStatic(&HasNoPlayWorld)),
+ LOCTEXT("CheckContentButton", "Check Content"),
+ LOCTEXT("CheckContentDescription", "Runs the Content Validation job on all checked out assets to look for warnings and errors"),
+ FSlateIcon(FGameEditorStyle::GetStyleSetName(), "GameEditor.CheckContent")
+ );
+ CheckContentEntry.StyleNameOverride = "CalloutToolbar";
+ Section.AddEntry(CheckContentEntry);
+
+ FToolMenuEntry CommonMapEntry = FToolMenuEntry::InitComboButton(
+ "CommonMapOptions",
+ FUIAction(
+ FExecuteAction(),
+ FCanExecuteAction::CreateStatic(&HasNoPlayWorld),
+ FIsActionChecked(),
+ FIsActionButtonVisible::CreateStatic(&CanShowCommonMaps)),
+ FOnGetContent::CreateStatic(&GetCommonMapsDropdown),
+ LOCTEXT("CommonMaps_Label", "Common Maps"),
+ LOCTEXT("CommonMaps_ToolTip", "Some commonly desired maps while using the editor"),
+ FSlateIcon(FAppStyle::GetAppStyleSetName(), "Icons.Level")
+ );
+ CommonMapEntry.StyleNameOverride = "CalloutToolbar";
+ Section.AddEntry(CommonMapEntry);
+}
+
+/**
+ * FLyraEditorModule
+ */
+class FLyraEditorModule : public FDefaultGameModuleImpl
+{
+ typedef FLyraEditorModule ThisClass;
+
+ virtual void StartupModule() override
+ {
+ FGameEditorStyle::Initialize();
+
+ if (!IsRunningGame())
+ {
+ FModuleManager::Get().OnModulesChanged().AddRaw(this, &FLyraEditorModule::ModulesChangedCallback);
+
+ BindGameplayAbilitiesEditorDelegates();
+
+ if (FSlateApplication::IsInitialized())
+ {
+ ToolMenusHandle = UToolMenus::RegisterStartupCallback(FSimpleMulticastDelegate::FDelegate::CreateStatic(&RegisterGameEditorMenus));
+ }
+
+ FEditorDelegates::BeginPIE.AddRaw(this, &ThisClass::OnBeginPIE);
+ FEditorDelegates::EndPIE.AddRaw(this, &ThisClass::OnEndPIE);
+ }
+
+ // Register the Context Effects Library asset type actions.
+ {
+ IAssetTools& AssetTools = FModuleManager::LoadModuleChecked("AssetTools").Get();
+ TSharedRef AssetAction = MakeShared();
+ LyraContextEffectsLibraryAssetAction = AssetAction;
+ AssetTools.RegisterAssetTypeActions(AssetAction);
+ }
+ }
+
+ void OnBeginPIE(bool bIsSimulating)
+ {
+ ULyraExperienceManager* ExperienceManager = GEngine->GetEngineSubsystem();
+ check(ExperienceManager);
+ ExperienceManager->OnPlayInEditorBegun();
+ }
+
+ void OnEndPIE(bool bIsSimulating)
+ {
+ }
+
+ virtual void ShutdownModule() override
+ {
+ // Unregister the Context Effects Library asset type actions.
+ {
+ FAssetToolsModule* AssetToolsModule = FModuleManager::GetModulePtr("AssetTools");
+ TSharedPtr AssetAction = LyraContextEffectsLibraryAssetAction.Pin();
+ if (AssetToolsModule && AssetAction)
+ {
+ AssetToolsModule->Get().UnregisterAssetTypeActions(AssetAction.ToSharedRef());
+ }
+ }
+
+ FEditorDelegates::BeginPIE.RemoveAll(this);
+ FEditorDelegates::EndPIE.RemoveAll(this);
+
+ // Undo UToolMenus
+ if (UObjectInitialized() && ToolMenusHandle.IsValid())
+ {
+ UToolMenus::UnRegisterStartupCallback(ToolMenusHandle);
+ }
+
+ UnbindGameplayAbilitiesEditorDelegates();
+ FModuleManager::Get().OnModulesChanged().RemoveAll(this);
+ FGameEditorStyle::Shutdown();
+ }
+
+protected:
+
+ static void BindGameplayAbilitiesEditorDelegates()
+ {
+ IGameplayAbilitiesEditorModule& GameplayAbilitiesEditorModule = IGameplayAbilitiesEditorModule::Get();
+
+ GameplayAbilitiesEditorModule.GetGameplayCueNotifyClassesDelegate().BindStatic(&GetGameplayCueDefaultClasses);
+ GameplayAbilitiesEditorModule.GetGameplayCueInterfaceClassesDelegate().BindStatic(&GetGameplayCueInterfaceClasses);
+ GameplayAbilitiesEditorModule.GetGameplayCueNotifyPathDelegate().BindStatic(&GetGameplayCuePath);
+ }
+
+ static void UnbindGameplayAbilitiesEditorDelegates()
+ {
+ if (IGameplayAbilitiesEditorModule::IsAvailable())
+ {
+ IGameplayAbilitiesEditorModule& GameplayAbilitiesEditorModule = IGameplayAbilitiesEditorModule::Get();
+ GameplayAbilitiesEditorModule.GetGameplayCueNotifyClassesDelegate().Unbind();
+ GameplayAbilitiesEditorModule.GetGameplayCueInterfaceClassesDelegate().Unbind();
+ GameplayAbilitiesEditorModule.GetGameplayCueNotifyPathDelegate().Unbind();
+ }
+ }
+
+ void ModulesChangedCallback(FName ModuleThatChanged, EModuleChangeReason ReasonForChange)
+ {
+ if ((ReasonForChange == EModuleChangeReason::ModuleLoaded) && (ModuleThatChanged.ToString() == TEXT("GameplayAbilitiesEditor")))
+ {
+ BindGameplayAbilitiesEditorDelegates();
+ }
+ }
+
+private:
+ TWeakPtr LyraContextEffectsLibraryAssetAction;
+ FDelegateHandle ToolMenusHandle;
+};
+
+IMPLEMENT_MODULE(FLyraEditorModule, LyraEditor);
+
+#undef LOCTEXT_NAMESPACE
diff --git a/LyraStarterGame/Source/LyraEditor/LyraEditor.h b/LyraStarterGame/Source/LyraEditor/LyraEditor.h
new file mode 100644
index 0000000000000000000000000000000000000000..73c2bcd23631447f3e36584851a7031c853f8cdb
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/LyraEditor.h
@@ -0,0 +1,7 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "Logging/LogMacros.h"
+
+DECLARE_LOG_CATEGORY_EXTERN(LogLyraEditor, Log, All);
\ No newline at end of file
diff --git a/LyraStarterGame/Source/LyraEditor/LyraEditorEngine.cpp b/LyraStarterGame/Source/LyraEditor/LyraEditorEngine.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..c371f239890f3d1953fdea8151f6d5048ba7ded7
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/LyraEditorEngine.cpp
@@ -0,0 +1,85 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "LyraEditorEngine.h"
+
+#include "Development/LyraDeveloperSettings.h"
+#include "Development/LyraPlatformEmulationSettings.h"
+#include "Engine/GameInstance.h"
+#include "Framework/Notifications/NotificationManager.h"
+#include "GameModes/LyraWorldSettings.h"
+#include "Settings/ContentBrowserSettings.h"
+#include "Settings/LevelEditorPlaySettings.h"
+#include "Widgets/Notifications/SNotificationList.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(LyraEditorEngine)
+
+class IEngineLoop;
+
+#define LOCTEXT_NAMESPACE "LyraEditor"
+
+ULyraEditorEngine::ULyraEditorEngine(const FObjectInitializer& ObjectInitializer)
+ : Super(ObjectInitializer)
+{
+}
+
+void ULyraEditorEngine::Init(IEngineLoop* InEngineLoop)
+{
+ Super::Init(InEngineLoop);
+}
+
+void ULyraEditorEngine::Start()
+{
+ Super::Start();
+}
+
+void ULyraEditorEngine::Tick(float DeltaSeconds, bool bIdleMode)
+{
+ Super::Tick(DeltaSeconds, bIdleMode);
+
+ FirstTickSetup();
+}
+
+void ULyraEditorEngine::FirstTickSetup()
+{
+ if (bFirstTickSetup)
+ {
+ return;
+ }
+
+ bFirstTickSetup = true;
+
+ // Force show plugin content on load.
+ GetMutableDefault()->SetDisplayPluginFolders(true);
+
+}
+
+FGameInstancePIEResult ULyraEditorEngine::PreCreatePIEInstances(const bool bAnyBlueprintErrors, const bool bStartInSpectatorMode, const float PIEStartTime, const bool bSupportsOnlinePIE, int32& InNumOnlinePIEInstances)
+{
+ if (const ALyraWorldSettings* LyraWorldSettings = Cast(EditorWorld->GetWorldSettings()))
+ {
+ if (LyraWorldSettings->ForceStandaloneNetMode)
+ {
+ EPlayNetMode OutPlayNetMode;
+ PlaySessionRequest->EditorPlaySettings->GetPlayNetMode(OutPlayNetMode);
+ if (OutPlayNetMode != PIE_Standalone)
+ {
+ PlaySessionRequest->EditorPlaySettings->SetPlayNetMode(PIE_Standalone);
+
+ FNotificationInfo Info(LOCTEXT("ForcingStandaloneForFrontend", "Forcing NetMode: Standalone for the Frontend"));
+ Info.ExpireDuration = 2.0f;
+ FSlateNotificationManager::Get().AddNotification(Info);
+ }
+ }
+ }
+
+ //@TODO: Should add delegates that a *non-editor* module could bind to for PIE start/stop instead of poking directly
+ GetDefault()->OnPlayInEditorStarted();
+ GetDefault()->OnPlayInEditorStarted();
+
+ //
+ FGameInstancePIEResult Result = Super::PreCreatePIEServerInstance(bAnyBlueprintErrors, bStartInSpectatorMode, PIEStartTime, bSupportsOnlinePIE, InNumOnlinePIEInstances);
+
+ return Result;
+}
+
+#undef LOCTEXT_NAMESPACE
diff --git a/LyraStarterGame/Source/LyraEditor/LyraEditorEngine.h b/LyraStarterGame/Source/LyraEditor/LyraEditorEngine.h
new file mode 100644
index 0000000000000000000000000000000000000000..e43c08f16dd0bd4b63010dc94f89bf87bdd6d163
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/LyraEditorEngine.h
@@ -0,0 +1,34 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "Editor/UnrealEdEngine.h"
+
+#include "LyraEditorEngine.generated.h"
+
+class IEngineLoop;
+class UObject;
+
+
+UCLASS()
+class ULyraEditorEngine : public UUnrealEdEngine
+{
+ GENERATED_BODY()
+
+public:
+
+ ULyraEditorEngine(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());
+
+protected:
+
+ virtual void Init(IEngineLoop* InEngineLoop) override;
+ virtual void Start() override;
+ virtual void Tick(float DeltaSeconds, bool bIdleMode) override;
+
+ virtual FGameInstancePIEResult PreCreatePIEInstances(const bool bAnyBlueprintErrors, const bool bStartInSpectatorMode, const float PIEStartTime, const bool bSupportsOnlinePIE, int32& InNumOnlinePIEInstances) override;
+
+private:
+ void FirstTickSetup();
+
+ bool bFirstTickSetup = false;
+};
diff --git a/LyraStarterGame/Source/LyraEditor/Private/AssetTypeActions_LyraContextEffectsLibrary.cpp b/LyraStarterGame/Source/LyraEditor/Private/AssetTypeActions_LyraContextEffectsLibrary.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..39ac7c11e2bb312fce29313ced9004489950e21f
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Private/AssetTypeActions_LyraContextEffectsLibrary.cpp
@@ -0,0 +1,16 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "AssetTypeActions_LyraContextEffectsLibrary.h"
+
+#include "Feedback/ContextEffects/LyraContextEffectsLibrary.h"
+
+class UClass;
+
+#define LOCTEXT_NAMESPACE "AssetTypeActions"
+
+UClass* FAssetTypeActions_LyraContextEffectsLibrary::GetSupportedClass() const
+{
+ return ULyraContextEffectsLibrary::StaticClass();
+}
+
+#undef LOCTEXT_NAMESPACE
diff --git a/LyraStarterGame/Source/LyraEditor/Private/AssetTypeActions_LyraContextEffectsLibrary.h b/LyraStarterGame/Source/LyraEditor/Private/AssetTypeActions_LyraContextEffectsLibrary.h
new file mode 100644
index 0000000000000000000000000000000000000000..430b54853fcae449c5970e0f3a6db95456b45f32
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Private/AssetTypeActions_LyraContextEffectsLibrary.h
@@ -0,0 +1,18 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "AssetTypeActions_Base.h"
+#include "AssetTypeCategories.h"
+
+class UClass;
+
+class FAssetTypeActions_LyraContextEffectsLibrary : public FAssetTypeActions_Base
+{
+public:
+ // IAssetTypeActions Implementation
+ virtual FText GetName() const override { return NSLOCTEXT("AssetTypeActions", "AssetTypeActions_LyraContextEffectsLibrary", "LyraContextEffectsLibrary"); }
+ virtual FColor GetTypeColor() const override { return FColor(65, 200, 98); }
+ virtual UClass* GetSupportedClass() const override;
+ virtual uint32 GetCategories() override { return EAssetTypeCategories::Gameplay; }
+};
diff --git a/LyraStarterGame/Source/LyraEditor/Private/GameEditorStyle.cpp b/LyraStarterGame/Source/LyraEditor/Private/GameEditorStyle.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..26c3877de973fe75e39ba06565ce44571007ea80
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Private/GameEditorStyle.cpp
@@ -0,0 +1,69 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "GameEditorStyle.h"
+
+#include "Brushes/SlateImageBrush.h"
+#include "Misc/Paths.h"
+#include "Styling/SlateStyle.h"
+#include "Styling/SlateStyleRegistry.h"
+
+TSharedPtr< FSlateStyleSet > FGameEditorStyle::StyleInstance = nullptr;
+
+void FGameEditorStyle::Initialize()
+{
+ if ( !StyleInstance.IsValid() )
+ {
+ StyleInstance = Create();
+ FSlateStyleRegistry::RegisterSlateStyle( *StyleInstance );
+ }
+}
+
+void FGameEditorStyle::Shutdown()
+{
+ FSlateStyleRegistry::UnRegisterSlateStyle( *StyleInstance );
+ ensure( StyleInstance.IsUnique() );
+ StyleInstance.Reset();
+}
+
+FName FGameEditorStyle::GetStyleSetName()
+{
+ static FName StyleSetName(TEXT("GameEditorStyle"));
+ return StyleSetName;
+}
+
+#define IMAGE_BRUSH( RelativePath, ... ) FSlateImageBrush( FPaths::EngineContentDir() / "Editor/Slate"/ RelativePath + TEXT(".png"), __VA_ARGS__ )
+#define BOX_BRUSH( RelativePath, ... ) FSlateBoxBrush( FPaths::EngineContentDir() / "Editor/Slate"/ RelativePath + TEXT(".png"), __VA_ARGS__ )
+#define BORDER_BRUSH( RelativePath, ... ) FSlateBorderBrush( FPaths::EngineContentDir() / "Editor/Slate"/ RelativePath + TEXT(".png"), __VA_ARGS__ )
+
+#define GAME_IMAGE_BRUSH( RelativePath, ... ) FSlateImageBrush( FPaths::ProjectContentDir() / "Editor/Slate"/ RelativePath + TEXT(".png"), __VA_ARGS__ )
+#define GAME_IMAGE_BRUSH_SVG( RelativePath, ... ) FSlateVectorImageBrush( FPaths::ProjectContentDir() / "Editor/Slate"/ RelativePath + TEXT(".svg"), __VA_ARGS__ )
+
+TSharedRef< FSlateStyleSet > FGameEditorStyle::Create()
+{
+ TSharedRef StyleRef = MakeShareable(new FSlateStyleSet(FGameEditorStyle::GetStyleSetName()));
+ StyleRef->SetContentRoot(FPaths::EngineContentDir() / TEXT("Editor/Slate"));
+ StyleRef->SetCoreContentRoot(FPaths::EngineContentDir() / TEXT("Slate"));
+
+ FSlateStyleSet& Style = StyleRef.Get();
+
+ const FVector2D Icon16x16(16.0f, 16.0f);
+ const FVector2D Icon20x20(20.0f, 20.0f);
+ const FVector2D Icon40x40(40.0f, 40.0f);
+ const FVector2D Icon64x64(64.0f, 64.0f);
+
+ // Toolbar
+ {
+ Style.Set("GameEditor.CheckContent", new GAME_IMAGE_BRUSH_SVG("Icons/CheckContent", Icon20x20));
+ }
+
+ return StyleRef;
+}
+
+#undef IMAGE_BRUSH
+#undef BOX_BRUSH
+#undef BORDER_BRUSH
+
+const ISlateStyle& FGameEditorStyle::Get()
+{
+ return *StyleInstance;
+}
diff --git a/LyraStarterGame/Source/LyraEditor/Private/GameEditorStyle.h b/LyraStarterGame/Source/LyraEditor/Private/GameEditorStyle.h
new file mode 100644
index 0000000000000000000000000000000000000000..fe1b75177febca67afdf151260a0bdecbc8a1ee0
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Private/GameEditorStyle.h
@@ -0,0 +1,29 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "Templates/SharedPointer.h"
+
+class ISlateStyle;
+
+/** Slate style used by the Game Editor */
+class FGameEditorStyle
+{
+public:
+
+ static void Initialize();
+
+ static void Shutdown();
+
+ static const ISlateStyle& Get();
+
+ static FName GetStyleSetName();
+
+private:
+
+ static TSharedRef< class FSlateStyleSet > Create();
+
+private:
+
+ static TSharedPtr< class FSlateStyleSet > StyleInstance;
+};
diff --git a/LyraStarterGame/Source/LyraEditor/Private/LyraContextEffectsLibraryFactory.cpp b/LyraStarterGame/Source/LyraEditor/Private/LyraContextEffectsLibraryFactory.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..43f760210d292e232dd58837258bbbf41f14aa59
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Private/LyraContextEffectsLibraryFactory.cpp
@@ -0,0 +1,28 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "LyraContextEffectsLibraryFactory.h"
+
+#include "Feedback/ContextEffects/LyraContextEffectsLibrary.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(LyraContextEffectsLibraryFactory)
+
+class FFeedbackContext;
+class UClass;
+class UObject;
+
+ULyraContextEffectsLibraryFactory::ULyraContextEffectsLibraryFactory(const FObjectInitializer& ObjectInitializer)
+ : Super(ObjectInitializer)
+{
+ SupportedClass = ULyraContextEffectsLibrary::StaticClass();
+
+ bCreateNew = true;
+ bEditorImport = false;
+ bEditAfterNew = true;
+}
+
+UObject* ULyraContextEffectsLibraryFactory::FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn)
+{
+ ULyraContextEffectsLibrary* LyraContextEffectsLibrary = NewObject(InParent, Name, Flags);
+
+ return LyraContextEffectsLibrary;
+}
diff --git a/LyraStarterGame/Source/LyraEditor/Private/LyraContextEffectsLibraryFactory.h b/LyraStarterGame/Source/LyraEditor/Private/LyraContextEffectsLibraryFactory.h
new file mode 100644
index 0000000000000000000000000000000000000000..bbbcf242282f1e64af1d4a77ff86577bc2d7e5e3
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Private/LyraContextEffectsLibraryFactory.h
@@ -0,0 +1,27 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "Factories/Factory.h"
+
+#include "LyraContextEffectsLibraryFactory.generated.h"
+
+class FFeedbackContext;
+class UClass;
+class UObject;
+
+UCLASS(hidecategories = Object, MinimalAPI)
+class ULyraContextEffectsLibraryFactory : public UFactory
+{
+ GENERATED_UCLASS_BODY()
+
+ //~ Begin UFactory Interface
+ virtual UObject* FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
+
+ virtual bool ShouldShowInNewMenu() const override
+ {
+ return true;
+ }
+ //~ End UFactory Interface
+};
+
diff --git a/LyraStarterGame/Source/LyraEditor/Utilities/CheckChaosMeshCollision.cpp b/LyraStarterGame/Source/LyraEditor/Utilities/CheckChaosMeshCollision.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..42ceedc3ff6eaa552831387cbf1ee2c09082f807
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Utilities/CheckChaosMeshCollision.cpp
@@ -0,0 +1,89 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "Chaos/TriangleMeshImplicitObject.h"
+#include "Engine/StaticMesh.h"
+#include "PhysicsEngine/BodySetup.h"
+#include "UObject/UObjectIterator.h"
+
+class FOutputDevice;
+class UWorld;
+
+namespace LyraEditorUtilities
+{
+
+//////////////////////////////////////////////////////////////////////////
+
+// returns true if the mesh has one or more degenerate triangles
+bool CheckMeshDataForProblem(const Chaos::FTriangleMeshImplicitObject::ParticlesType& Particles, const Chaos::FTrimeshIndexBuffer& Elements)
+{
+ // Internal helper because the index buffer type is templated
+ auto CheckTris = [&](const auto& Elements, int32 NumTriangles)
+ {
+ using VecType = Chaos::FTriangleMeshImplicitObject::ParticleVecType;
+
+ for (int32 FaceIdx = 0; FaceIdx < NumTriangles; ++FaceIdx)
+ {
+ const VecType& A = Particles.GetX(Elements[FaceIdx][0]);
+ const VecType& B = Particles.GetX(Elements[FaceIdx][1]);
+ const VecType& C = Particles.GetX(Elements[FaceIdx][2]);
+
+ const VecType AB = B - A;
+ const VecType AC = C - A;
+ VecType Normal = VecType::CrossProduct(AB, AC);
+
+ if (Normal.SafeNormalize() < SMALL_NUMBER)
+ {
+ return true;
+ }
+ }
+
+ return false;
+ };
+
+ const int32 NumTriangles = Elements.GetNumTriangles();
+ if (Elements.RequiresLargeIndices())
+ {
+ return CheckTris(Elements.GetLargeIndexBuffer(), NumTriangles);
+ }
+ else
+ {
+ return CheckTris(Elements.GetSmallIndexBuffer(), NumTriangles);
+ }
+}
+
+void CheckChaosMeshCollision(FOutputDevice& Ar)
+{
+ for (UStaticMesh* MeshAsset : TObjectRange())
+ {
+ if (UBodySetup* BodySetup = MeshAsset->GetBodySetup())
+ {
+ for (const Chaos::FTriangleMeshImplicitObjectPtr& TriMesh : BodySetup->TriMeshGeometries)
+ {
+ if (Chaos::FTriangleMeshImplicitObject* TriMeshData = TriMesh.GetReference())
+ {
+ if (CheckMeshDataForProblem(TriMeshData->Particles(), TriMeshData->Elements()))
+ {
+ UE_LOG(LogConsoleResponse, Warning, TEXT("Mesh asset %s has one or more degenerate triangles in collision data"), *GetPathNameSafe(MeshAsset));
+ }
+ }
+ }
+ }
+ }
+}
+
+FAutoConsoleCommandWithWorldArgsAndOutputDevice GCheckChaosMeshCollisionCmd(
+ TEXT("Lyra.CheckChaosMeshCollision"),
+ TEXT("Usage:\n")
+ TEXT(" Lyra.CheckChaosMeshCollision\n")
+ TEXT("\n")
+ TEXT("It will check Chaos collision data for all *loaded* static mesh assets for any degenerate triangles"),
+ FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic(
+ [](const TArray& Params, UWorld* World, FOutputDevice& Ar)
+{
+ CheckChaosMeshCollision(Ar);
+}));
+
+
+//////////////////////////////////////////////////////////////////////////
+
+}; // End of namespace
diff --git a/LyraStarterGame/Source/LyraEditor/Utilities/CreateRedirectorPackage.cpp b/LyraStarterGame/Source/LyraEditor/Utilities/CreateRedirectorPackage.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..1f23ad2519963f1781e022333f8b17f97c926eda
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Utilities/CreateRedirectorPackage.cpp
@@ -0,0 +1,66 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "AssetRegistry/AssetRegistryModule.h"
+#include "CollectionManagerModule.h"
+#include "HAL/IConsoleManager.h"
+#include "Misc/PackageName.h"
+#include "UObject/ObjectRedirector.h"
+#include "UObject/Package.h"
+
+class ICollectionManager;
+class UWorld;
+
+//////////////////////////////////////////////////////////////////////////
+
+FAutoConsoleCommandWithWorldArgsAndOutputDevice GCreateRedirectorPackage(
+ TEXT("Lyra.CreateRedirectorPackage"),
+ TEXT("Usage:\n")
+ TEXT(" Lyra.CreateRedirectorPackage RedirectorName TargetPackage"),
+ FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic(
+ [](const TArray& Params, UWorld* World, FOutputDevice& Ar)
+{
+ IAssetRegistry& AssetRegistry = IAssetRegistry::GetChecked();;
+ ICollectionManager& CollectionManager = FCollectionManagerModule::GetModule().Get();
+
+ if (Params.Num() < 2)
+ {
+ Ar.Log(TEXT("Expected two parameters"));
+ return;
+ }
+
+ const FString RedirectorPackageName = Params[0];
+ const FString TargetPackageName = Params[1];
+
+ if (!FPackageName::IsValidLongPackageName(RedirectorPackageName))
+ {
+ Ar.Log(FString::Printf(TEXT("RedirectorPackageName '%s' is not a valid long package name"), *RedirectorPackageName));
+ return;
+ }
+
+ if (!FPackageName::IsValidLongPackageName(TargetPackageName))
+ {
+ Ar.Log(FString::Printf(TEXT("TargetPackageName '%s' is not a valid long package name"), *TargetPackageName));
+ return;
+ }
+
+
+ UObject* TargetAsset = StaticLoadObject(UObject::StaticClass(), nullptr, *TargetPackageName);
+
+ if (!FPackageName::IsValidLongPackageName(TargetPackageName))
+ {
+ Ar.Log(FString::Printf(TEXT("Could not find an asset to point to at '%s'"), *TargetPackageName));
+ return;
+ }
+
+ // Create the package for the redirector
+ const FString RedirectorObjectName = FPackageName::GetLongPackageAssetName(RedirectorPackageName);
+ UPackage* RedirectorPackage = CreatePackage(*RedirectorPackageName);
+
+ // Create the redirector itself
+ UObjectRedirector* Redirector = NewObject(RedirectorPackage, FName(*RedirectorObjectName), RF_Standalone | RF_Public);
+ Redirector->DestinationObject = TargetAsset;
+
+
+ FAssetRegistryModule::AssetCreated(Redirector);
+
+}));
diff --git a/LyraStarterGame/Source/LyraEditor/Utilities/DiffCollectionReferenceSupport.cpp b/LyraStarterGame/Source/LyraEditor/Utilities/DiffCollectionReferenceSupport.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..6baa2d8395ad7ea00f172f2ef2671ce22cb86799
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Utilities/DiffCollectionReferenceSupport.cpp
@@ -0,0 +1,169 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "AssetRegistry/IAssetRegistry.h"
+#include "CollectionManagerModule.h"
+#include "HAL/IConsoleManager.h"
+#include "ICollectionContainer.h"
+#include "ICollectionManager.h"
+#include "Templates/Greater.h"
+#include "UObject/SoftObjectPath.h"
+
+class UWorld;
+
+//////////////////////////////////////////////////////////////////////////
+
+FAutoConsoleCommandWithWorldArgsAndOutputDevice GDiffCollectionReferenceSupport(
+ TEXT("Lyra.DiffCollectionReferenceSupport"),
+ TEXT("Usage:\n")
+ TEXT(" Lyra.DiffCollectionReferenceSupport OldCollectionName NewCollectionName [Deduplicate]\n")
+ TEXT("\n")
+ TEXT("It will list the assets in Old that 'support' assets introduced in New (are referencers directly/indirectly)\n")
+ TEXT("as well as any loose unsupported assets.\n")
+ TEXT("\n")
+ TEXT("The optional third argument controls whether or not multi-supported assets will be de-duplicated (true) or not (false)"),
+ FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic(
+ [](const TArray& Params, UWorld* World, FOutputDevice& Ar)
+{
+ IAssetRegistry& AssetRegistry = IAssetRegistry::GetChecked();;
+ const TSharedRef& CollectionContainer = FCollectionManagerModule::GetModule().Get().GetProjectCollectionContainer();
+
+ if (Params.Num() < 2)
+ {
+ Ar.Log(TEXT("Expected two parameters"));
+ return;
+ }
+
+ if (AssetRegistry.IsLoadingAssets())
+ {
+ Ar.Log(TEXT("Asset registry is still scanning, try again later"));
+ return;
+ }
+
+ const bool bExcludeSecondInstanceOfMultiSupported = (Params.Num() >= 3) ? Params[2].ToBool() : true;
+
+ TArray OldPaths;
+ if (!CollectionContainer->GetAssetsInCollection(FName(*Params[0]), ECollectionShareType::CST_All, /*out*/ OldPaths))
+ {
+ Ar.Log(FString::Printf(TEXT("Failed to find collection %s"), *Params[0]));
+ return;
+ }
+
+ TArray NewPaths;
+ if (!CollectionContainer->GetAssetsInCollection(FName(*Params[1]), ECollectionShareType::CST_All, /*out*/ NewPaths))
+ {
+ Ar.Log(FString::Printf(TEXT("Failed to find collection %s"), *Params[1]));
+ return;
+ }
+
+ TSet OldPathSet;
+ Algo::Transform(OldPaths, OldPathSet, &FSoftObjectPath::GetLongPackageFName);
+
+ TSet NewPathSet;
+ Algo::Transform(NewPaths, NewPathSet, &FSoftObjectPath::GetLongPackageFName);
+
+ TSet IntroducedAssetSet = NewPathSet.Difference(OldPathSet);
+
+ // Map from added asset to list of assets in old paths that supports it (if any)
+ TMap> SupportMap;
+ TSet VisitedAssets;
+
+ // Map of count of newly added assets directly/indirectly supported by each supporter asset in the old paths
+ TMap SupporterCountMap;
+ TMap> SupporterToAddedMap;
+
+ TFunction RecursivelyBuildSupport = [&](const FName IntroducedAssetPath)
+ {
+ // Someone else may have already processed me as part of their dependencies
+ if (!VisitedAssets.Contains(IntroducedAssetPath))
+ {
+ VisitedAssets.Add(IntroducedAssetPath);
+
+ TArray Referencers;
+ AssetRegistry.GetReferencers(IntroducedAssetPath, /*out*/ Referencers);
+
+ for (const FName& Referencer : Referencers)
+ {
+ if (OldPathSet.Contains(Referencer))
+ {
+ // Direct support
+ SupportMap.FindOrAdd(IntroducedAssetPath).Add(Referencer);
+ }
+ else
+ {
+ // Indirect, need to process recursively
+ RecursivelyBuildSupport(Referencer);
+
+ // Can now use the supports it indicated to build into our own
+ TSet& MySupports = SupportMap.FindOrAdd(IntroducedAssetPath);
+ if (TSet* pRecuriveReferencers = SupportMap.Find(Referencer))
+ {
+ MySupports.Append(*pRecuriveReferencers);
+ }
+ }
+ }
+ }
+ };
+
+ // Find the supporters
+ for (const FName& IntroducedAssetPath : IntroducedAssetSet)
+ {
+ RecursivelyBuildSupport(IntroducedAssetPath);
+ }
+
+ // Count the strongest supporters
+ for (const auto& KVP : SupportMap)
+ {
+ const FName SupportedAsset = KVP.Key;
+ for (const FName& Supporter : KVP.Value)
+ {
+ SupporterToAddedMap.FindOrAdd(Supporter).Add(SupportedAsset);
+ }
+ }
+
+ TSet AlreadyPrintedOut;
+
+ Ar.Log(TEXT("List of supporters, sorted by count of newly added assets being supported"));
+ SupporterCountMap.ValueSort(TGreater());
+ for (const auto& KVP : SupporterToAddedMap)
+ {
+ const FName Supporter = KVP.Key;
+
+ // Filter to added assets (and exclude ones already printed if we were asked to)
+ TArray AddedAssetsBeingSupported(KVP.Value.Array());
+ AddedAssetsBeingSupported = AddedAssetsBeingSupported.FilterByPredicate([&](FName Test) { return IntroducedAssetSet.Contains(Test); });
+
+ int32 IncludingMultisupportCount = AddedAssetsBeingSupported.Num();
+ if (bExcludeSecondInstanceOfMultiSupported)
+ {
+ AddedAssetsBeingSupported = AddedAssetsBeingSupported.FilterByPredicate([&](FName Test) { return !AlreadyPrintedOut.Contains(Test); });
+ }
+
+ Algo::Sort(AddedAssetsBeingSupported, [](const FName LHS, const FName RHS) { return LHS.LexicalLess(RHS); });
+
+ // Print out the list
+ Ar.Log(FString::Printf(TEXT("%s supports %d new assets:"), *Supporter.ToString(), IncludingMultisupportCount));
+ for (const FName& AddedAsset : AddedAssetsBeingSupported)
+ {
+ const int32 AddedAssetSupportCount = SupportMap.FindChecked(AddedAsset).Num();
+ Ar.Log(FString::Printf(TEXT("\t%s%s"), *AddedAsset.ToString(), (AddedAssetSupportCount > 1) ? TEXT(" [multi-supported]") : TEXT("")));
+ AlreadyPrintedOut.Add(AddedAsset);
+ }
+
+ const int32 NumExcludedDueToMultiSupport = IncludingMultisupportCount - AddedAssetsBeingSupported.Num();
+ if (NumExcludedDueToMultiSupport > 0)
+ {
+ Ar.Log(FString::Printf(TEXT("\tAnd %d more that were also supported by a previous supporter"), NumExcludedDueToMultiSupport));
+ }
+ }
+
+ Ar.Log(TEXT("\n"));
+ Ar.Log(TEXT("List of unsupported assets:"));
+ for (const FName& AssetName : IntroducedAssetSet)
+ {
+ if (!SupportMap.Contains(AssetName) || (SupportMap.FindRef(AssetName).Num() == 0))
+ {
+ Ar.Log(FString::Printf(TEXT("\t%s"), *AssetName.ToString()));
+ //@TODO: Check to see if this is instead supported by a primary asset maybe?
+ }
+ }
+}));
diff --git a/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator.cpp b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..2610c0ea67695628bbca807bdd56f4d810744615
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator.cpp
@@ -0,0 +1,499 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "EditorValidator.h"
+
+#include "AssetRegistry/ARFilter.h"
+#include "AssetRegistry/AssetRegistryModule.h"
+#include "Blueprint/BlueprintSupport.h"
+#include "Editor.h"
+#include "EditorValidatorSubsystem.h"
+#include "Engine/BlueprintCore.h"
+#include "ISourceControlModule.h"
+#include "ISourceControlProvider.h"
+#include "Logging/MessageLog.h"
+#include "LyraEditor.h"
+#include "Misc/ConfigCacheIni.h"
+#include "Misc/MessageDialog.h"
+#include "Misc/PackageName.h"
+#include "Misc/ScopedSlowTask.h"
+#include "Settings/ProjectPackagingSettings.h"
+#include "ShaderCompiler.h"
+#include "SourceCodeNavigation.h"
+#include "SourceControlOperations.h"
+#include "Stats/StatsMisc.h"
+#include "StudioTelemetry.h"
+#include "UObject/UObjectIterator.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(EditorValidator)
+
+#define LOCTEXT_NAMESPACE "EditorValidator"
+
+int32 GMaxAssetsChangedByAHeader = 200;
+static FAutoConsoleVariableRef CVarMaxAssetsChangedByAHeader(TEXT("EditorValidator.MaxAssetsChangedByAHeader"), GMaxAssetsChangedByAHeader, TEXT("The maximum number of assets to check for content validation based on a single header change."), ECVF_Default);
+
+bool UEditorValidator::bAllowFullValidationInEditor = false;
+TArray FLyraValidationMessageGatherer::IgnorePatterns;
+
+UEditorValidator::UEditorValidator()
+ : Super()
+{
+}
+
+void UEditorValidator::ValidateCheckedOutContent(bool bInteractive, const EDataValidationUsecase InValidationUsecase)
+{
+ if (FStudioTelemetry::IsAvailable())
+ {
+ FStudioTelemetry::Get().RecordEvent(TEXT("ValidateContent"));
+ }
+
+ FAssetRegistryModule& AssetRegistryModule = FModuleManager::LoadModuleChecked("AssetRegistry");
+ if (AssetRegistryModule.Get().IsLoadingAssets())
+ {
+ if (bInteractive)
+ {
+ FMessageDialog::Open(EAppMsgType::Ok, LOCTEXT("DiscoveringAssets", "Still discovering assets. Try again once it is complete."));
+ }
+ else
+ {
+ UE_LOG(LogLyraEditor, Display, TEXT("Could not run ValidateCheckedOutContent because asset discovery was still being done."));
+ }
+ return;
+ }
+
+ TArray ChangedPackageNames;
+ TArray DeletedPackageNames;
+
+ ISourceControlProvider& SourceControlProvider = ISourceControlModule::Get().GetProvider();
+ if (ISourceControlModule::Get().IsEnabled())
+ {
+ // Request the opened files at filter construction time to make sure checked out files have the correct state for the filter
+ TSharedRef UpdateStatusOperation = ISourceControlOperation::Create();
+ UpdateStatusOperation->SetGetOpenedOnly(true);
+ SourceControlProvider.Execute(UpdateStatusOperation, EConcurrency::Synchronous);
+
+ TArray CheckedOutFiles = SourceControlProvider.GetCachedStateByPredicate(
+ [](const FSourceControlStateRef& State) { return State->IsCheckedOut() || State->IsAdded() || State->IsDeleted(); }
+ );
+
+ for (const FSourceControlStateRef& FileState : CheckedOutFiles)
+ {
+ FString Filename = FileState->GetFilename();
+ if (FPackageName::IsPackageFilename(Filename))
+ {
+ // Assets
+ FString PackageName;
+ if (FPackageName::TryConvertFilenameToLongPackageName(Filename, PackageName))
+ {
+ if (FileState->IsDeleted())
+ {
+ DeletedPackageNames.Add(PackageName);
+ }
+ else
+ {
+ ChangedPackageNames.Add(PackageName);
+ }
+ }
+ }
+ else if (Filename.EndsWith(TEXT(".h")))
+ {
+ // Source code header changes for classes may cause issues in assets based on those classes
+ UEditorValidator::GetChangedAssetsForCode(AssetRegistryModule.Get(), Filename, ChangedPackageNames);
+ }
+ }
+ }
+
+ bool bAnyIssuesFound = false;
+ TArray AllWarningsAndErrors;
+ {
+ if (bInteractive)
+ {
+ bAllowFullValidationInEditor = true;
+
+ // We will be flushing shader compile as we load materials, so dont let other shader warnings be attributed incorrectly to the package that is loading.
+ if (GShaderCompilingManager)
+ {
+ FScopedSlowTask SlowTask(0.f, LOCTEXT("CompilingShadersBeforeCheckingContentTask", "Finishing shader compiles before checking content..."));
+ SlowTask.MakeDialog();
+ GShaderCompilingManager->FinishAllCompilation();
+ }
+ }
+ {
+ FScopedSlowTask SlowTask(0.f, LOCTEXT("CheckingContentTask", "Checking content..."));
+ SlowTask.MakeDialog();
+ if (!ValidatePackages(ChangedPackageNames, DeletedPackageNames, 2000, AllWarningsAndErrors, InValidationUsecase))
+ {
+ bAnyIssuesFound = true;
+ }
+ }
+ if (bInteractive)
+ {
+ bAllowFullValidationInEditor = false;
+ }
+ }
+
+ {
+ FLyraValidationMessageGatherer ScopedMessageGatherer;
+ if (!ValidateProjectSettings())
+ {
+ bAnyIssuesFound = true;
+ }
+ AllWarningsAndErrors.Append(ScopedMessageGatherer.GetAllWarningsAndErrors());
+ }
+
+ if (bInteractive)
+ {
+ const bool bAtLeastOneMessage = (AllWarningsAndErrors.Num() != 0);
+ if (bAtLeastOneMessage)
+ {
+ FMessageDialog::Open(EAppMsgType::Ok, LOCTEXT("ContentValidationFailed", "!!!!!!! Your checked out content has issues. Don't submit until they are fixed !!!!!!!\r\n\r\nSee the MessageLog and OutputLog for details"));
+ }
+ else if (bAnyIssuesFound)
+ {
+ FMessageDialog::Open(EAppMsgType::Ok, LOCTEXT("ContentValidationFailedWithNoMessages", "No errors or warnings were found, but there was an error return code. Look in the OutputLog and log file for details. You may need engineering help."));
+ }
+ else
+ {
+ FMessageDialog::Open(EAppMsgType::Ok, LOCTEXT("ContentValidationPassed", "All checked out content passed. Nice job."));
+ }
+ }
+}
+
+bool UEditorValidator::ValidatePackages(const TArray& ExistingPackageNames, const TArray& DeletedPackageNames, int32 MaxPackagesToLoad, TArray& OutAllWarningsAndErrors, const EDataValidationUsecase InValidationUsecase)
+{
+ bool bAnyIssuesFound = false;
+
+ FAssetRegistryModule& AssetRegistryModule = FModuleManager::LoadModuleChecked(TEXT("AssetRegistry"));
+ IAssetRegistry& AssetRegistry = AssetRegistryModule.Get();
+
+ TArray AllPackagesToValidate = ExistingPackageNames;
+ for (const FString& DeletedPackageName : DeletedPackageNames)
+ {
+ UE_LOG(LogLyraEditor, Display, TEXT("Adding referencers for deleted package %s to be verified"), *DeletedPackageName);
+ TArray PackageReferencers;
+ AssetRegistry.GetReferencers(FName(*DeletedPackageName), PackageReferencers, UE::AssetRegistry::EDependencyCategory::Package);
+ for (const FName& Referencer : PackageReferencers)
+ {
+ const FString ReferencerString = Referencer.ToString();
+ if (!DeletedPackageNames.Contains(ReferencerString) && !IsInUncookedFolder(ReferencerString))
+ {
+ UE_LOG(LogLyraEditor, Display, TEXT(" Deleted package referencer %s was added to the queue to be verified"), *ReferencerString);
+ AllPackagesToValidate.Add(ReferencerString);
+ }
+ }
+ }
+
+ const FText ValidationPageName = LOCTEXT("ValidatePackages", "Validate Packages");
+
+ FMessageLog DataValidationLog("AssetCheck");
+ DataValidationLog.NewPage(ValidationPageName);
+
+ if (AllPackagesToValidate.Num() > MaxPackagesToLoad)
+ {
+ // Too much changed to verify, just pass it.
+ FString WarningMessage = FString::Printf(TEXT("Assets to validate (%d) exceeded -MaxPackagesToLoad=(%d). Skipping existing package validation."), AllPackagesToValidate.Num(), MaxPackagesToLoad);
+ UE_LOG(LogLyraEditor, Warning, TEXT("%s"), *WarningMessage);
+ OutAllWarningsAndErrors.Add(WarningMessage);
+ DataValidationLog.Warning(FText::FromString(WarningMessage));
+ }
+ else
+ {
+ // Load all packages that match the file filter string
+ TArray AssetsToCheck;
+ for (const FString& PackageName : AllPackagesToValidate)
+ {
+ if (FPackageName::IsValidLongPackageName(PackageName) && !IsInUncookedFolder(PackageName))
+ {
+ int32 OldNumAssets = AssetsToCheck.Num();
+ AssetRegistry.GetAssetsByPackageName(FName(*PackageName), AssetsToCheck, true);
+ if (AssetsToCheck.Num() == OldNumAssets)
+ {
+ FString WarningMessage;
+ // See if the file exists at all. Otherwise, the package contains no assets.
+ if (FPackageName::DoesPackageExist(PackageName))
+ {
+ WarningMessage = FString::Printf(TEXT("Found no assets in package '%s'"), *PackageName);
+ }
+ else
+ {
+ if (ISourceControlModule::Get().IsEnabled())
+ {
+ ISourceControlProvider& SourceControlProvider = ISourceControlModule::Get().GetProvider();
+ FString PackageFilename = FPackageName::LongPackageNameToFilename(PackageName, FPackageName::GetAssetPackageExtension());
+ TSharedPtr FileState = SourceControlProvider.GetState(PackageFilename, EStateCacheUsage::ForceUpdate);
+ if (FileState->IsAdded())
+ {
+ WarningMessage = FString::Printf(TEXT("Package '%s' is missing from disk. It is marked for add in perforce but missing from your hard drive."), *PackageName);
+ }
+
+ if (FileState->IsCheckedOut())
+ {
+ WarningMessage = FString::Printf(TEXT("Package '%s' is missing from disk. It is checked out in perforce but missing from your hard drive."), *PackageName);
+ }
+ }
+
+ if (WarningMessage.IsEmpty())
+ {
+ WarningMessage = FString::Printf(TEXT("Package '%s' is missing from disk."), *PackageName);
+ }
+ }
+ ensure(!WarningMessage.IsEmpty());
+ UE_LOG(LogLyraEditor, Warning, TEXT("%s"), *WarningMessage);
+ OutAllWarningsAndErrors.Add(WarningMessage);
+ DataValidationLog.Warning(FText::FromString(WarningMessage));
+ bAnyIssuesFound = true;
+ }
+ }
+ }
+
+ if (AssetsToCheck.Num() > 0)
+ {
+ // Preload all assets to check, so load warnings can be handled separately from validation warnings
+ {
+ for (const FAssetData& AssetToCheck : AssetsToCheck)
+ {
+ if (!AssetToCheck.IsAssetLoaded())
+ {
+ UE_LOG(LogLyraEditor, Display, TEXT("Preloading %s..."), *AssetToCheck.GetObjectPathString());
+
+ // Start listening for load warnings
+ FLyraValidationMessageGatherer ScopedPreloadMessageGatherer;
+
+ // Load the asset
+ AssetToCheck.GetAsset();
+
+ if (ScopedPreloadMessageGatherer.GetAllWarningsAndErrors().Num() > 0)
+ {
+ // Repeat all errant load warnings as errors, so other CIS systems can treat them more severely (i.e. Build health will create an issue and assign it to a developer)
+ for (const FString& LoadWarning : ScopedPreloadMessageGatherer.GetAllWarnings())
+ {
+ UE_LOG(LogLyraEditor, Error, TEXT("%s"), *LoadWarning);
+ }
+
+ OutAllWarningsAndErrors.Append(ScopedPreloadMessageGatherer.GetAllWarningsAndErrors());
+ bAnyIssuesFound = true;
+ }
+ }
+ }
+ }
+
+ // Run all validators now.
+ FLyraValidationMessageGatherer ScopedMessageGatherer;
+ FValidateAssetsSettings Settings;
+ FValidateAssetsResults Results;
+
+ Settings.bSkipExcludedDirectories = true;
+ Settings.bShowIfNoFailures = true;
+ Settings.ValidationUsecase = InValidationUsecase;
+ Settings.MessageLogPageTitle = ValidationPageName;
+
+ const bool bHasInvalidFiles = GEditor->GetEditorSubsystem()->ValidateAssetsWithSettings(AssetsToCheck, Settings, Results) > 0;
+
+ if (bHasInvalidFiles || ScopedMessageGatherer.GetAllWarningsAndErrors().Num() > 0)
+ {
+ OutAllWarningsAndErrors.Append(ScopedMessageGatherer.GetAllWarningsAndErrors());
+ bAnyIssuesFound = true;
+ }
+ }
+ }
+
+ return !bAnyIssuesFound;
+}
+
+bool UEditorValidator::ValidateProjectSettings()
+{
+ bool bSuccess = true;
+
+ FMessageLog ValidationLog("AssetCheck");
+
+ {
+ bool bDeveloperMode = false;
+ GConfig->GetBool(TEXT("/Script/PythonScriptPlugin.PythonScriptPluginSettings"), TEXT("bDeveloperMode"), /*out*/ bDeveloperMode, GEngineIni);
+
+ if (bDeveloperMode)
+ {
+ const FString ErrorMessage(TEXT("The project setting version of Python's bDeveloperMode should not be checked in. Use the editor preference version instead!"));
+ UE_LOG(LogLyraEditor, Error, TEXT("%s"), *ErrorMessage);
+ ValidationLog.Error(FText::AsCultureInvariant(ErrorMessage));
+ bSuccess = false;
+ }
+ }
+
+ return bSuccess;
+}
+
+bool UEditorValidator::IsInUncookedFolder(const FString& PackageName, FString* OutUncookedFolderName)
+{
+ const UProjectPackagingSettings* const PackagingSettings = GetDefault();
+ check(PackagingSettings);
+ for (const FDirectoryPath& DirectoryToNeverCook : PackagingSettings->DirectoriesToNeverCook)
+ {
+ const FString& UncookedFolder = DirectoryToNeverCook.Path;
+ if (PackageName.StartsWith(UncookedFolder))
+ {
+ if (OutUncookedFolderName)
+ {
+ FString FolderToReport = UncookedFolder.StartsWith(TEXT("/Game/")) ? UncookedFolder.RightChop(6) : UncookedFolder;
+ if (FolderToReport.EndsWith(TEXT("/")))
+ {
+ *OutUncookedFolderName = FolderToReport.LeftChop(1);
+ }
+ else
+ {
+ *OutUncookedFolderName = FolderToReport;
+ }
+ }
+ return true;
+ }
+ }
+
+ return false;
+}
+
+bool UEditorValidator::ShouldAllowFullValidation()
+{
+ return IsRunningCommandlet() || bAllowFullValidationInEditor;
+}
+
+bool UEditorValidator::CanValidateAsset_Implementation(UObject* InAsset) const
+{
+ if (InAsset)
+ {
+ FString PackageName = InAsset->GetOutermost()->GetName();
+ if (!IsInUncookedFolder(PackageName))
+ {
+ return true;
+ }
+ }
+
+ return false;
+}
+
+void UEditorValidator::GetChangedAssetsForCode(IAssetRegistry& AssetRegistry, const FString& ChangedHeaderLocalFilename, TArray& OutChangedPackageNames)
+{
+ static struct FCachedNativeClasses
+ {
+ public:
+ FCachedNativeClasses()
+ {
+ static const FName ModuleNameFName = "ModuleName";
+ static const FName ModuleRelativePathFName = "ModuleRelativePath";
+
+ for (TObjectIterator ClassIt; ClassIt; ++ClassIt)
+ {
+ UClass* TestClass = *ClassIt;
+ if (TestClass->HasAnyClassFlags(CLASS_Native))
+ {
+ FAssetData ClassAssetData(TestClass);
+
+ FString ModuleName, ModuleRelativePath;
+ ClassAssetData.GetTagValue(ModuleNameFName, ModuleName);
+ ClassAssetData.GetTagValue(ModuleRelativePathFName, ModuleRelativePath);
+
+ Classes.Add(ModuleName + TEXT("+") + ModuleRelativePath, TestClass);
+ }
+ }
+ }
+
+ TArray> GetClassesInHeader(const FString& ModuleName, const FString& ModuleRelativePath)
+ {
+ TArray> ClassesInHeader;
+ Classes.MultiFind(ModuleName + TEXT("+") + ModuleRelativePath, ClassesInHeader);
+
+ return ClassesInHeader;
+ }
+
+ private:
+ TMultiMap> Classes;
+ } NativeClassCache;
+
+ const TArray& ModuleNames = FSourceCodeNavigation::GetSourceFileDatabase().GetModuleNames();
+ const FString* Module = ModuleNames.FindByPredicate([ChangedHeaderLocalFilename](const FString& ModuleBuildPath) {
+ const FString ModuleFullPath = FPaths::ConvertRelativePathToFull(FPaths::GetPath(ModuleBuildPath));
+ if (ChangedHeaderLocalFilename.StartsWith(ModuleFullPath))
+ {
+ return true;
+ }
+ return false;
+ });
+
+ if (Module)
+ {
+ SCOPE_LOG_TIME_IN_SECONDS(TEXT("Looking for blueprints affected by code changes"), nullptr);
+
+ const FString FoundModulePath = FPaths::ConvertRelativePathToFull(FPaths::GetPath(*Module));
+ const FString FoundModulePathWithSlash = FoundModulePath / TEXT("");
+ FString ChangedHeaderReleativeToModule = ChangedHeaderLocalFilename;
+ FPaths::MakePathRelativeTo(ChangedHeaderReleativeToModule, *FoundModulePathWithSlash);
+ FString ChangedHeaderModule = FPaths::GetBaseFilename(FoundModulePath);
+
+ // STEP 1 - Find all the native classes inside the header that changed.
+ TArray> ClassList = NativeClassCache.GetClassesInHeader(ChangedHeaderModule, ChangedHeaderReleativeToModule);
+
+ // STEP 2 - We now need to convert the set of native classes into actual derived blueprints.
+ bool bTooManyFiles = false;
+ TArray BlueprintsDerivedFromNativeModifiedClasses;
+ for (TWeakObjectPtr ModifiedClassPtr : ClassList)
+ {
+ // If we capped out on maximum number of modified files for a single header change, don't try to keep looking for more stuff.
+ if (bTooManyFiles)
+ {
+ break;
+ }
+
+ if (UClass* ModifiedClass = ModifiedClassPtr.Get())
+ {
+ // This finds all native derived blueprints, both direct subclasses, or subclasses of subclasses.
+ TSet DerivedClassNames;
+ TArray ClassNames;
+ ClassNames.Add(ModifiedClass->GetClassPathName());
+ AssetRegistry.GetDerivedClassNames(ClassNames, TSet(), DerivedClassNames);
+
+ UE_LOG(LogLyraEditor, Display, TEXT("Validating Subclasses of %s in %s + %s"), *ModifiedClass->GetName(), *ChangedHeaderModule, *ChangedHeaderReleativeToModule);
+
+ FARFilter Filter;
+ Filter.bRecursiveClasses = true;
+ Filter.ClassPaths.Add(UBlueprintCore::StaticClass()->GetClassPathName());
+
+ // We enumerate all assets to find any blueprints who inherit from native classes directly - or
+ // from other blueprints.
+ AssetRegistry.EnumerateAssets(Filter, [&BlueprintsDerivedFromNativeModifiedClasses, &bTooManyFiles, &DerivedClassNames, ChangedHeaderModule, ChangedHeaderReleativeToModule](const FAssetData& AssetData)
+ {
+ FString PackageName = AssetData.PackageName.ToString();
+ // Don't check data-only blueprints, we'll be here all day.
+ if (!AssetData.GetTagValueRef(FBlueprintTags::IsDataOnly) && !UEditorValidator::IsInUncookedFolder(PackageName))
+ {
+ // Need to get the generated class here to see if it's one in the derived set we care about.
+ const FString ClassFromData = AssetData.GetTagValueRef(FBlueprintTags::GeneratedClassPath);
+ if (!ClassFromData.IsEmpty())
+ {
+ const FTopLevelAssetPath ClassObjectPath(FPackageName::ExportTextPathToObjectPath(ClassFromData));
+ if (DerivedClassNames.Contains(ClassObjectPath))
+ {
+ UE_LOG(LogLyraEditor, Display, TEXT("\tAdding %s To Validate"), *PackageName);
+
+ BlueprintsDerivedFromNativeModifiedClasses.Emplace(AssetData);
+
+ if (BlueprintsDerivedFromNativeModifiedClasses.Num() >= GMaxAssetsChangedByAHeader)
+ {
+ bTooManyFiles = true;
+ UE_LOG(LogLyraEditor, Display, TEXT("Too many assets invalidated (Max %d) by change to, %s + %s"), GMaxAssetsChangedByAHeader, *ChangedHeaderModule, *ChangedHeaderReleativeToModule);
+ return false; // Stop enumerating.
+ }
+ }
+ }
+ }
+ return true;
+ });
+ }
+ }
+
+ // STEP 3 - Report the possibly changed blueprints as affected modified packages that need
+ // to be proved out.
+ for (const FAssetData& BlueprintsDerivedFromNativeModifiedClass : BlueprintsDerivedFromNativeModifiedClasses)
+ {
+ OutChangedPackageNames.Add(BlueprintsDerivedFromNativeModifiedClass.PackageName.ToString());
+ }
+ }
+}
+
+#undef LOCTEXT_NAMESPACE
diff --git a/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator.h b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator.h
new file mode 100644
index 0000000000000000000000000000000000000000..44b29271d58692dd28dd4fdd39358f21d0c94dc1
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator.h
@@ -0,0 +1,108 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "EditorValidatorBase.h"
+
+#include "EditorValidator.generated.h"
+
+class UObject;
+
+class FLyraValidationMessageGatherer : public FOutputDevice
+{
+public:
+ FLyraValidationMessageGatherer()
+ : FOutputDevice()
+ {
+ GLog->AddOutputDevice(this);
+ }
+
+ virtual ~FLyraValidationMessageGatherer()
+ {
+ GLog->RemoveOutputDevice(this);
+ }
+
+ virtual void Serialize(const TCHAR* V, ELogVerbosity::Type Verbosity, const class FName& Category) override
+ {
+ if (Verbosity <= ELogVerbosity::Warning)
+ {
+ FString MessageString(V);
+ bool bIgnored = false;
+ for (const FString& IgnorePattern : IgnorePatterns)
+ {
+ if (MessageString.Contains(IgnorePattern))
+ {
+ bIgnored = true;
+ break;
+ }
+ }
+
+ if (!bIgnored)
+ {
+ AllWarningsAndErrors.Add(MessageString);
+ if (Verbosity == ELogVerbosity::Warning)
+ {
+ AllWarnings.Add(MessageString);
+ }
+ }
+ }
+ }
+
+ const TArray& GetAllWarningsAndErrors() const
+ {
+ return AllWarningsAndErrors;
+ }
+
+ const TArray& GetAllWarnings() const
+ {
+ return AllWarnings;
+ }
+
+ static void AddIgnorePatterns(const TArray& NewPatterns)
+ {
+ IgnorePatterns.Append(NewPatterns);
+ }
+
+ static void RemoveIgnorePatterns(const TArray& PatternsToRemove)
+ {
+ for (const FString& PatternToRemove : PatternsToRemove)
+ {
+ IgnorePatterns.RemoveSingleSwap(PatternToRemove);
+ }
+ }
+
+private:
+ TArray AllWarningsAndErrors;
+ TArray AllWarnings;
+ static TArray IgnorePatterns;
+};
+
+UCLASS(Abstract)
+class UEditorValidator : public UEditorValidatorBase
+{
+ GENERATED_BODY()
+
+public:
+ UEditorValidator();
+
+ static void ValidateCheckedOutContent(bool bInteractive, const EDataValidationUsecase InValidationUsecase);
+ static bool ValidatePackages(const TArray& ExistingPackageNames, const TArray& DeletedPackageNames, int32 MaxPackagesToLoad, TArray& OutAllWarningsAndErrors, const EDataValidationUsecase InValidationUsecase);
+ static bool ValidateProjectSettings();
+
+ static bool IsInUncookedFolder(const FString& PackageName, FString* OutUncookedFolderName = nullptr);
+ static bool ShouldAllowFullValidation();
+
+ static void GetChangedAssetsForCode(class IAssetRegistry& AssetRegistry, const FString& ChangedHeaderLocalFilename, TArray& OutChangedPackageNames);
+
+protected:
+ virtual bool CanValidateAsset_Implementation(UObject* InAsset) const override;
+
+ static TArray TestMapsFolders;
+
+private:
+ /**
+ * Used by some validators to determine if it is okay to load referencing assets or other slow tasks.
+ * This is not okay for fast operations like saving, but is fine for slower "check everything thoroughly" tests
+ */
+ static bool bAllowFullValidationInEditor;
+};
diff --git a/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Blueprints.cpp b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Blueprints.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..cdb02d914fd9c7cafe62c0903c1119119d26a7c8
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Blueprints.cpp
@@ -0,0 +1,118 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "EditorValidator_Blueprints.h"
+
+#include "AssetRegistry/AssetRegistryModule.h"
+#include "Blueprint/BlueprintSupport.h"
+#include "Kismet2/BlueprintEditorUtils.h"
+#include "LyraEditor.h"
+#include "Modules/ModuleManager.h"
+#include "Validation/EditorValidator.h"
+#include "Validation/EditorValidator_Load.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(EditorValidator_Blueprints)
+
+#define LOCTEXT_NAMESPACE "EditorValidator"
+
+UEditorValidator_Blueprints::UEditorValidator_Blueprints()
+ : Super()
+{
+}
+
+bool UEditorValidator_Blueprints::CanValidateAsset_Implementation(const FAssetData& InAssetData, UObject* InAsset, FDataValidationContext& InContext) const
+{
+ return Super::CanValidateAsset_Implementation(InAsset) && (InAsset ? InAsset->IsA(UBlueprint::StaticClass()) : false);
+}
+
+EDataValidationResult UEditorValidator_Blueprints::ValidateLoadedAsset_Implementation(const FAssetData& InAssetData, UObject* InAsset, FDataValidationContext& Context)
+{
+ UBlueprint* Blueprint = Cast(InAsset);
+ check(Blueprint);
+
+ if (UEditorValidator::ShouldAllowFullValidation())
+ {
+ // For non-dataonly blueprints, also load and check all directly referencing non-data-only blueprints, as changes may have caused them to fail to compile
+ if (!FBlueprintEditorUtils::IsDataOnlyBlueprint(Blueprint))
+ {
+ FAssetRegistryModule& AssetRegistryModule = FModuleManager::LoadModuleChecked(TEXT("AssetRegistry"));
+ IAssetRegistry& AssetRegistry = AssetRegistryModule.Get();
+
+ TSet AllHardReferencers;
+
+ TArray PackagesToProcess;
+ PackagesToProcess.Add(Blueprint->GetOutermost()->GetFName());
+
+ do
+ {
+ TArray NextPackagesToProcess;
+ for (FName PackageToProcess : PackagesToProcess)
+ {
+ TArray HardReferencers;
+ AssetRegistry.GetReferencers(PackageToProcess, HardReferencers, UE::AssetRegistry::EDependencyCategory::Package, UE::AssetRegistry::EDependencyQuery::Hard);
+ for (FName HardReferencer : HardReferencers)
+ {
+ if (!AllHardReferencers.Contains(HardReferencer))
+ {
+ AllHardReferencers.Add(HardReferencer);
+ TArray RefAssets;
+ AssetRegistry.GetAssetsByPackageName(HardReferencer, RefAssets, true);
+ for (const FAssetData& RefData : RefAssets)
+ {
+ if (RefData.IsRedirector())
+ {
+ NextPackagesToProcess.Add(RefData.PackageName);
+ break;
+ }
+ }
+ }
+ }
+ }
+ PackagesToProcess = MoveTemp(NextPackagesToProcess);
+ } while (PackagesToProcess.Num() > 0);
+
+ for (FName HardReferencer : AllHardReferencers)
+ {
+ FString HardReferencerStr = HardReferencer.ToString();
+ if (!IsInUncookedFolder(HardReferencerStr))
+ {
+ TArray ReferencerAssets;
+ AssetRegistry.GetAssetsByPackageName(HardReferencer, ReferencerAssets, true);
+ for (const FAssetData& ReferencerAssetData : ReferencerAssets)
+ {
+ // Skip levelscript BPs... for now
+ if ((ReferencerAssetData.PackageFlags & PKG_ContainsMap) == 0)
+ {
+ bool bIsDataOnlyBP = false;
+ if (ReferencerAssetData.GetTagValue(FBlueprintTags::IsDataOnly, bIsDataOnlyBP))
+ {
+ if (!bIsDataOnlyBP)
+ {
+ UE_LOG(LogLyraEditor, Display, TEXT(" Loading referencing non-dataonly blueprint %s"), *HardReferencerStr);
+
+ TArray WarningsAndErrors;
+ if (UEditorValidator_Load::GetLoadWarningsAndErrorsForPackage(HardReferencerStr, WarningsAndErrors))
+ {
+ for (const FString& WarningOrError : WarningsAndErrors)
+ {
+ AssetFails(InAsset, FText::FromString(WarningOrError));
+ }
+ }
+ break;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+
+ if (GetValidationResult() != EDataValidationResult::Invalid)
+ {
+ AssetPasses(InAsset);
+ }
+
+ return GetValidationResult();
+}
+
+#undef LOCTEXT_NAMESPACE
diff --git a/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Blueprints.h b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Blueprints.h
new file mode 100644
index 0000000000000000000000000000000000000000..d1a24b9de4d0b97205a9bb881f08948b00d73099
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Blueprints.h
@@ -0,0 +1,24 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "EditorValidator.h"
+
+#include "EditorValidator_Blueprints.generated.h"
+
+class FText;
+class UObject;
+
+UCLASS()
+class UEditorValidator_Blueprints : public UEditorValidator
+{
+ GENERATED_BODY()
+
+public:
+ UEditorValidator_Blueprints();
+
+protected:
+ using Super::CanValidateAsset_Implementation; // -Woverloaded-virtual
+ virtual bool CanValidateAsset_Implementation(const FAssetData& InAssetData, UObject* InObject, FDataValidationContext& InContext) const override;
+ virtual EDataValidationResult ValidateLoadedAsset_Implementation(const FAssetData& InAssetData, UObject* InAsset, FDataValidationContext& Context) override;
+};
diff --git a/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Load.cpp b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Load.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..abacc7031ed85027ab475fdd524ede9248a1f85c
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Load.cpp
@@ -0,0 +1,188 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "EditorValidator_Load.h"
+
+#include "AssetCompilingManager.h"
+#include "Engine/Engine.h"
+#include "Engine/World.h"
+#include "HAL/FileManager.h"
+#include "Kismet2/BlueprintEditorUtils.h"
+#include "Kismet2/KismetEditorUtilities.h"
+#include "Misc/PackageName.h"
+#include "Misc/Paths.h"
+#include "Validation/EditorValidator.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(EditorValidator_Load)
+
+#define LOCTEXT_NAMESPACE "EditorValidator"
+
+// This list only ignores log messages that occur while we are reloading an asset that is already in memory
+// Should only be used for warnings that occur as a result of having the asset in memory in two different packages
+TArray UEditorValidator_Load::InMemoryReloadLogIgnoreList = { TEXT("Enum name collision: '") };
+
+UEditorValidator_Load::UEditorValidator_Load()
+ : Super()
+{
+}
+
+bool UEditorValidator_Load::IsEnabled() const
+{
+ // Commandlets do not need this validation step as they loaded the content while running.
+ return !IsRunningCommandlet() && Super::IsEnabled();
+}
+
+bool UEditorValidator_Load::CanValidateAsset_Implementation(const FAssetData& InAssetData, UObject* InAsset, FDataValidationContext& InContext) const
+{
+ return Super::CanValidateAsset_Implementation(InAsset) && InAsset != nullptr;
+}
+
+EDataValidationResult UEditorValidator_Load::ValidateLoadedAsset_Implementation(const FAssetData& InAssetData, UObject* InAsset, FDataValidationContext& Context)
+{
+ check(InAsset);
+
+ TArray WarningsAndErrors;
+ if (GetLoadWarningsAndErrorsForPackage(InAsset->GetOutermost()->GetName(), WarningsAndErrors))
+ {
+ for (const FString& WarningOrError : WarningsAndErrors)
+ {
+ AssetFails(InAsset, FText::FromString(WarningOrError));
+ }
+ }
+ else
+ {
+ AssetFails(InAsset, LOCTEXT("Load_FailedLoad", "Failed to get package load warnings and errors"));
+ }
+
+ if (GetValidationResult() != EDataValidationResult::Invalid)
+ {
+ AssetPasses(InAsset);
+ }
+
+ return GetValidationResult();
+}
+
+bool UEditorValidator_Load::GetLoadWarningsAndErrorsForPackage(const FString& PackageName, TArray& OutWarningsAndErrors)
+{
+ check(!PackageName.IsEmpty());
+ check(GEngine);
+
+ UPackage* const ExistingPackage = FindPackage(nullptr, *PackageName);
+
+ if (ExistingPackage == GetTransientPackage())
+ {
+ return true;
+ }
+
+ // Skip World or External Actor packages
+ if (ExistingPackage && UWorld::IsWorldOrWorldExternalPackage(ExistingPackage))
+ {
+ return true;
+ }
+
+ // Commandlets shouldnt load the temporary packages since it involves collecting garbage and may destroy objects higher in the callstack. Loading it the one time is probably good enough
+ // Also since commandlets dont use RF_Standalone, this could greatly increase commandlet execution time when loading the same assets over and over
+ if (ExistingPackage && !IsRunningCommandlet() && UEditorValidator::ShouldAllowFullValidation() && !ExistingPackage->ContainsMap() && !PackageName.EndsWith(TEXT("_BuiltData")))
+ {
+ // Copy the asset file to the temp directory and load it
+ const FString& SrcPackageName = PackageName;
+ FString SrcFilename;
+ const bool bSourceFileExists = FPackageName::DoesPackageExist(SrcPackageName, &SrcFilename);
+ if (bSourceFileExists)
+ {
+ static int32 PackageIdentifier = 0;
+ FString DestPackageName = FString::Printf(TEXT("/Temp/%s_%d"), *FPackageName::GetLongPackageAssetName(ExistingPackage->GetName()), PackageIdentifier++);
+ FString DestFilename = FPackageName::LongPackageNameToFilename(DestPackageName, FPaths::GetExtension(SrcFilename, true));
+ uint32 CopyResult = IFileManager::Get().Copy(*DestFilename, *SrcFilename);
+ if (ensure(CopyResult == COPY_OK))
+ {
+ // Gather all warnings and errors during the process to determine return value
+ UPackage* LoadedPackage = nullptr;
+ {
+ FLyraValidationMessageGatherer::AddIgnorePatterns(InMemoryReloadLogIgnoreList);
+ FLyraValidationMessageGatherer ScopedMessageGatherer;
+ // If we are loading a blueprint, compile the original and load the duplicate with DisableCompileOnLoad, since BPs loaded on the side may not compile if there are circular references involving self
+ int32 LoadFlags = LOAD_ForDiff;
+ {
+ TArray AllExistingObjects;
+ GetObjectsWithPackage(ExistingPackage, AllExistingObjects, false);
+ TArray AllNonDOBPs;
+ for (UObject* Obj : AllExistingObjects)
+ {
+ UBlueprint* BP = Cast(Obj);
+ if (BP && !FBlueprintEditorUtils::IsDataOnlyBlueprint(BP))
+ {
+ AllNonDOBPs.Add(BP);
+ }
+ }
+ if (AllNonDOBPs.Num() > 0)
+ {
+ LoadFlags |= LOAD_DisableCompileOnLoad;
+ for (UBlueprint* BP : AllNonDOBPs)
+ {
+ check(BP);
+ FKismetEditorUtilities::CompileBlueprint(BP);
+ }
+ }
+ }
+ LoadedPackage = LoadPackage(NULL, *DestPackageName, LoadFlags);
+
+ // Make sure what we just loaded has finish compiling otherwise we won't be able
+ // to reset loaders for the package or verify if errors have been emitted.
+ FAssetCompilingManager::Get().FinishAllCompilation();
+
+ for (const FString& LoadWarningOrError : ScopedMessageGatherer.GetAllWarningsAndErrors())
+ {
+ FString SanitizedMessage = LoadWarningOrError.Replace(*DestFilename, *SrcFilename);
+ SanitizedMessage = SanitizedMessage.Replace(*DestPackageName, *SrcPackageName);
+ OutWarningsAndErrors.Add(SanitizedMessage);
+ }
+ FLyraValidationMessageGatherer::RemoveIgnorePatterns(InMemoryReloadLogIgnoreList);
+ }
+ if (LoadedPackage)
+ {
+ ResetLoaders(LoadedPackage);
+ IFileManager::Get().Delete(*DestFilename);
+ TArray AllLoadedObjects;
+ GetObjectsWithPackage(LoadedPackage, AllLoadedObjects, true);
+ for (UObject* Obj : AllLoadedObjects)
+ {
+ if (Obj->IsRooted())
+ {
+ continue;
+ }
+ Obj->ClearFlags(RF_Public | RF_Standalone);
+ Obj->SetFlags(RF_Transient);
+ if (UWorld* WorldToDestroy = Cast(Obj))
+ {
+ WorldToDestroy->DestroyWorld(true);
+ }
+ Obj->MarkAsGarbage();
+ }
+ GEngine->ForceGarbageCollection(true);
+ }
+ }
+ else
+ {
+ // Failed to copy the file to the temp folder
+ return false;
+ }
+ }
+ else
+ {
+ // It was in memory but not yet saved probably (no source file)
+ return false;
+ }
+ }
+ else
+ {
+ // Not in memory, just load it
+ FLyraValidationMessageGatherer ScopedMessageGatherer;
+ LoadPackage(nullptr, *PackageName, LOAD_None);
+ OutWarningsAndErrors = ScopedMessageGatherer.GetAllWarningsAndErrors();
+ }
+
+ return true;
+}
+
+#undef LOCTEXT_NAMESPACE
+
diff --git a/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Load.h b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Load.h
new file mode 100644
index 0000000000000000000000000000000000000000..aba569a88c9438463eee039abfa214b00870c920
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_Load.h
@@ -0,0 +1,31 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include "EditorValidator.h"
+
+#include "EditorValidator_Load.generated.h"
+
+class FText;
+class UObject;
+
+UCLASS()
+class UEditorValidator_Load : public UEditorValidator
+{
+ GENERATED_BODY()
+
+public:
+ UEditorValidator_Load();
+
+ virtual bool IsEnabled() const override;
+
+ static bool GetLoadWarningsAndErrorsForPackage(const FString& PackageName, TArray& OutWarningsAndErrors);
+
+protected:
+ using Super::CanValidateAsset_Implementation; // -Woverloaded-virtual
+ virtual bool CanValidateAsset_Implementation(const FAssetData& InAssetData, UObject* InObject, FDataValidationContext& InContext) const override;
+ virtual EDataValidationResult ValidateLoadedAsset_Implementation(const FAssetData& InAssetData, UObject* InAsset, FDataValidationContext& Context) override;
+
+private:
+ static TArray InMemoryReloadLogIgnoreList;
+};
diff --git a/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_MaterialFunctions.cpp b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_MaterialFunctions.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..c6f4ec750ea0ceafebe68c78936ab8405e15c932
--- /dev/null
+++ b/LyraStarterGame/Source/LyraEditor/Validation/EditorValidator_MaterialFunctions.cpp
@@ -0,0 +1,106 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include "EditorValidator_MaterialFunctions.h"
+
+#include "AssetRegistry/AssetData.h"
+#include "AssetRegistry/IAssetRegistry.h"
+#include "LyraEditor.h"
+#include "Materials/Material.h"
+#include "Materials/MaterialFunction.h"
+#include "Validation/EditorValidator.h"
+#include "Validation/EditorValidator_Load.h"
+
+#include UE_INLINE_GENERATED_CPP_BY_NAME(EditorValidator_MaterialFunctions)
+
+#define LOCTEXT_NAMESPACE "EditorValidator"
+
+UEditorValidator_MaterialFunctions::UEditorValidator_MaterialFunctions()
+ : Super()
+{
+}
+
+bool UEditorValidator_MaterialFunctions::CanValidateAsset_Implementation(const FAssetData& InAssetData, UObject* InAsset, FDataValidationContext& InContext) const
+{
+ return (InAsset ? InAsset->IsA(UMaterialFunction::StaticClass()) : false);
+}
+
+EDataValidationResult UEditorValidator_MaterialFunctions::ValidateLoadedAsset_Implementation(const FAssetData& InAssetData, UObject* InAsset, FDataValidationContext& Context)
+{
+ UMaterialFunction* MaterialFunction = Cast(InAsset);
+ check(MaterialFunction);
+
+ if (UEditorValidator::ShouldAllowFullValidation())
+ {
+ // Also load and check all directly referencing materials, as changes may have caused them to fail to compile
+ IAssetRegistry& AssetRegistry = IAssetRegistry::GetChecked();
+
+ TSet