Search found 5 matches

by dforma
26 Jul 2019, 18:34
Forum: SFS2X Questions
Topic: Lose SFConnection on Scene Load
Replies: 8
Views: 2186

Re: Lose SFConnection on Scene Load

I'm certain that your test works correctly, and that there is something unusual in my scene which is the cause. I just wish I could better troubleshoot or capture what is occurring. I was just hoping you'd seen something like this before, but I will report if I find anything out. I will just have to...
by dforma
26 Jul 2019, 02:28
Forum: SFS2X Questions
Topic: Lose SFConnection on Scene Load
Replies: 8
Views: 2186

Re: Lose SFConnection on Scene Load

Thank you for your suggestions. What I currently have is the Tris game environment exactly as from the examples folder, with the correct server extensions and correct Unity build settings. If I load the "Game" scene in the LobbyController, I can access the connection when GameController Aw...
by dforma
22 Jul 2019, 18:33
Forum: SFS2X Questions
Topic: Lose SFConnection on Scene Load
Replies: 8
Views: 2186

Re: Lose SFConnection on Scene Load

Thanks for your response. And sorry these are beginner-type questions. I had indeed studied the Tris examples page, and have that code you shared in my code already, is was taken from the original Tris GameController code. However, when stepping through the code execution, whenever I hit that IF sta...
by dforma
21 Jul 2019, 22:27
Forum: SFS2X Questions
Topic: Followup to Earlier Connection Loss Question
Replies: 1
Views: 968

Followup to Earlier Connection Loss Question

With respect to the question I asked earlier, here are my Unity and SFS versions and the server log. Unity 2019.3.0a6 & SmartFoxServer 2.13.6 When I am placed in the room, I load my alternate scene with GameController added to the top object. Following the next ProcessEvents, I can no longer acc...
by dforma
21 Jul 2019, 05:50
Forum: SFS2X Questions
Topic: Lose SFConnection on Scene Load
Replies: 8
Views: 2186

Lose SFConnection on Scene Load

I've taken a copy of Tris, and substituted loading my own game scene in Unity instead of Game, but when GameController starts which I've added to the topmost object in my scene, 'sfs' is null and IsInstantiated is false. I'm using the Javascript server code and am using trace messages to help troubl...

Go to advanced search