Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ue5.1.1 update #6

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

jayraj2610
Copy link

  • Replacement For OnLevelRemovedFromWorld() in Widget Classes

  • Engine Updated To 5.1.1

  • Engine Auto Updated The DefaultPlayerInputClass in the Defautinput.ini

  • Fixed - warning C4996: 'APlayerState::GetPing': Use GetPingInMilliseconds() or GetCompressedPing() instead

  • Updated [IniKeyBlacklist] with [IniKeyDenylist] to suppress Warning

  • Fixed - Warning: Found a deprecated ini section name in ../../../../../..Projects/MultiplayerCourseBlasterGame/Config/DefaultGame.ini. Search for [IniKeyBlacklist] and replace with [IniKeyDenylist]
    LogConfig: Warning: Found a deprecated ini section name in ../../../../..//MultiplayerCourseBlasterGame/Config/DefaultGame.ini. Search for [IniKeyBlacklist] and replace with [IniKeyDenylist]
    Updated Deprecated Keyword.

  • Fixed -UNiagaraComponent::GetSystemInstance': This interface is no longer safe to access directly. Use the interface provided by GetSystemInstanceController instead.

  • Fixed Ue5.1 Now Gives Error instand of warning "Struct not initialized Properly"
    so added Constructors Of Struct

  • Fixed Bug: From Lecture 205 - Projectile Score Request - When you shoot the host with high ping, with a server side rewind weapon, sometimes the engine would crash with this error:
    Assertion failed: Pair != nullptr [File:E:\Unreal Engine\UE_5.1*****\Map.h] [Line: 643]

  • Solved issue - isUnique Breakpoint triggered when game Running in Debugmod

  • Optimizing spendround function

warning C4996: 'APlayerState::GetPing': Use GetPingInMilliseconds() or GetCompressedPing() instead

Updated [IniKeyBlacklist]  with  [IniKeyDenylist] to suppress Warning

Editor Gives Warning

EditorErrors: Warning: Click to open file Found a deprecated ini section name in ../../../../../..Projects/MultiplayerCourseBlasterGame/Config/DefaultGame.ini. Search for [IniKeyBlacklist] and replace with [IniKeyDenylist]
LogConfig: Warning: Found a deprecated ini section name in ../../../../..//MultiplayerCourseBlasterGame/Config/DefaultGame.ini. Search for [IniKeyBlacklist] and replace with [IniKeyDenylist]

Updated Deprecated Keyword.

Niagara System Updated The Function (about to go deprecated)

UNiagaraComponent::GetSystemInstance': This interface is no longer safe to access directly. Use the interface provided by GetSystemInstanceController instead.

Added Struct Constructor

Ue5.1 Now Gives Error instand of warning "Struct not initialized Properly"
so added Constructors Of Struct

Replacement For OnLevelRemovedFromWorld() in Widget Classes

- OnLevelRemovedFromWorld() is replaced With NativeDestruct()
- Engine Updated To 5.1.1
- Engine Auto Updated The DefaultPlayerInputClass in the Defautinput.ini
Bug: From Lecture 205 - Projectile Score Request - When you shoot the host with high ping, with a server side rewind weapon, sometimes the engine would crash with this error:

Assertion failed: Pair != nullptr [File:E:\Unreal Engine\UE_5.1\Engine\Source\Runtime\Core\Public\Containers\Map.h] [Line: 643]

FindChecked() checks to see if the Pair is null, and if it is null, it triggers an assertion which causes the Engine to crash. “ The simplest way to think of assert is that whatever is "asserted" must be true, or the program will stop running.”
The key is sometimes null in ResetBoxes(), which I checked with an on screen message, checking if the key is contained in the TMap or not.

I just kept shooting at the host and eventually, it said false for the ResetBoxes() key.
…ug Mode

 If
you run in debug mode and get an lsUnique breakpoint triggered, the
following solution can fix it:
In the MultiplayerSessionsSubsystem constructor, don't cache the
Sessionlnterface pointer. We can create a function bool 1sVa1idSession1nterface() , which actually
creates the session only once if it hasn't been created already.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant