x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

CreateSession Node Fails Despite ini Changes

I am currently developing a networked game with the HTC Vive. The game involves having the VR scene run as a server, and then allowing clients to connect to the scene as spectators on computers. I am currently just trying to get the game working on LAN.

To test the game, I am using VR Preview, and launching the game with the number of players set to 2. When I click VR Preview, here is what pops up:

alt text

I have already edited my ProjectName/Config/DefaultEngine.ini with these lines:

alt text

I also added a blank c++ file to my project so that I could have access to the *.Build.cs file, where I altered this line of code to include OnlineSubsystemNull after reading this post:

alt text

Here is where my CreateSession node is called:

alt text

I have already put a break point in at CreateSession, and have confirmed that Use LAN is true and that Player controller is valid.

Every time I run it though, I get this error

alt text

I don't know why I'm getting this error, because it seems like I've implemented all of the fixes for it. Hopefully someone will be able to shed some light on it!

Thank you

Product Version: UE 4.16
Tags:
windows.png (95.4 kB)
ini.png (7.0 kB)
code.png (5.9 kB)
hostgame.png (375.7 kB)
consolelogs.png (5.2 kB)
more ▼

asked Jun 20 '17 at 08:27 PM in Blueprint Scripting

avatar image

HawkDanny
6 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I do not know why, but when I opened the project again today, I am no longer getting these errors and it's working correctly.

more ▼

answered Jun 21 '17 at 03:44 PM

avatar image

HawkDanny
6 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question