A user has found that there are a few lines of code inside of shooter game that references a folder that does not exist. The lines of code below are the lines of code that reference images in an image folder that does not exist.
The following code can be found in ShooterStyle.cpp:
TSharedRef< FSlateStyleSet > FShooterStyle::Create() { TSharedRef<FSlateStyleSet> StyleRef = FSlateGameResources::New(FShooterStyle::GetStyleSetName(), "/Game/UI/Styles", "/Game/UI/Styles"); FSlateStyleSet& Style = StyleRef.Get(); // Load the speaker icon to be used for displaying when a user is talking Style.Set("ShooterGame.Speaker", new IMAGE_BRUSH("Images/SoundCue_SpeakerIcon", FVector2D(32, 32))); // The border image used to draw the replay timeline bar Style.Set("ShooterGame.ReplayTimelineBorder", new BOX_BRUSH("Images/ReplayTimeline", FMargin(3.0f / 8.0f))); // The border image used to draw the replay timeline bar Style.Set("ShooterGame.ReplayTimelineIndicator", new IMAGE_BRUSH("Images/ReplayTimelineIndicator", FVector2D(4.0f, 26.0f))); // The image used to draw the replay pause button Style.Set("ShooterGame.ReplayPauseIcon", new IMAGE_BRUSH("Images/ReplayPause", FVector2D(32.0f, 32.0f)));
Expected: "images" folder would be present or this would point to a folder that does exist
Result: The code points to a folder that does not exist
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | Docs - Samples |
---|---|
Affects Versions | 4.7.6, 4.8.1 |
Target Fix | 4.9 |
Fix Commit | 2618208 |
---|
Created | Jul 8, 2015 |
---|---|
Resolved | Jul 13, 2015 |
Updated | Apr 27, 2018 |