Page 2 of 2

Re: Room.GetVariable is randomly null

Posted: 17 Apr 2019, 09:18
by Lapo
Thanks, we'll look into it.

Re: Room.GetVariable is randomly null

Posted: 17 Apr 2019, 12:56
by Bax
There's no need to be so aggressive with those who are trying to help you.
All our checks can be annoying, but we always need to make sure the person asking for support in not making a mistake.
When all most common causes of error are set aside (especially when a possible bug is almost impossible to reproduce), then we can check if we have an actual bug.

At the following URL you can download an updated version of the C# API that you can test in your scenario.
Let us know if you are still finding null variables. Thank you.

http://www.smartfoxserver.com/temp/SFS2X_API_CSharp_v1.7.12_TEMP.zip

Re: Room.GetVariable is randomly null

Posted: 17 Apr 2019, 13:35
by Jochanan
I will let you know

Re: Room.GetVariable is randomly null

Posted: 17 Apr 2019, 14:19
by Jochanan
I am not able to test it out, because we are using version 1.7.8 right now. I need to use this version, because , we are using Scripting runtime version .NET 3.5 equivivalent - stable.

May I ask you for a new version based on 1.7.8 with that change you have implemented there?
Thanks

Re: Room.GetVariable is randomly null

Posted: 18 Apr 2019, 06:41
by Bax
I'm sorry, we don't maintain multiple versions of our API. You should move to the latest version.

Re: Room.GetVariable is randomly null

Posted: 18 Apr 2019, 14:39
by Jochanan
We are using Unity 2017.2 and SmartFoxServer client API 1.7.8, because we would like to support devices with Windows XP - at least from the start to see, whether it is needed or not.

.NET 4.5 is not compatible with Windows XP, so we cannot have both XP support and .NET 4.5.

In your download page, you are providing link to both newest version and the newest version with .NET 2.0 support (1.7.8 ). Because of that, I thought, that you are still supporting older version of the library. Usually, bugfixes are applied on all versions, that are supported at the moment.

I would really like to test the new version of the client API, but unless my boss told me to drop XP support, i would not be able to.

Re: Room.GetVariable is randomly null

Posted: 19 Apr 2019, 11:16
by Bax
We'll check if we an port the changes to v1.7.8. This may take a few days; I'll let you know here as soon as possible.

Re: Room.GetVariable is randomly null

Posted: 19 Apr 2019, 20:16
by Jochanan
Thanks

Re: Room.GetVariable is randomly null

Posted: 24 Apr 2019, 14:20
by Bax
At the following URL you can download an updated version of the C# API v1.7.8.
Please try it and let us know if that fixes the issues you are experiencing.
http://www.smartfoxserver.com/temp/SFS2 ... .7.8.1.zip

Re: Room.GetVariable is randomly null

Posted: 30 Apr 2019, 08:03
by Bax
Jochanan wrote:Thanks

Jochanan, did you have the chance to test the updated API?

Re: Room.GetVariable is randomly null

Posted: 02 May 2019, 15:00
by Jochanan
I am going to test it right now.
I have tried to test both versions (the version based on 1.7.12 in a special branch) and it looked good. No error so far.