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.

1 Like

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.

1 Like

Privacy & Terms