Ue5 I didnt need to use SessionInterface.IsValid()

When I run it, it finds the interface and the if statement does its job. the output is the same no matter if i use IsValid or not.

2 Likes

This is fine for NULL but when you switch to steam (section 3) or EOS (not covered in the course) you absolutely need to perform this check.

Also, it is good to code defensively.

2 Likes

Privacy & Terms