Maybe you can remove the DLL and references from your project, close and reopen Unity, and add the DLL again.
I've seen this kind of behavior in Unity for years unfortunately...
Search found 4600 matches
- 10 Jul 2023, 15:05
- Forum: SFS2X C# API
- Topic: The type or namespace name 'Sfs2X' could not be found
- Replies: 10
- Views: 82556
- 10 Jul 2023, 14:51
- Forum: SFS2X C# API
- Topic: The type or namespace name 'Sfs2X' could not be found
- Replies: 10
- Views: 82556
Re: The type or namespace name 'Sfs2X' could not be found
With the Unity Hub you can install multiple copies of Unity side by side if you like.
Anyway, dod you try recreating your project from scratch?
Anyway, dod you try recreating your project from scratch?
- 10 Jul 2023, 14:08
- Forum: SFS2X C# API
- Topic: The type or namespace name 'Sfs2X' could not be found
- Replies: 10
- Views: 82556
Re: The type or namespace name 'Sfs2X' could not be found
Is the error you reported thrown by your project, or by our connector example?
After following our advice and restarting Unity, did it rebuild the .sln file?
After following our advice and restarting Unity, did it rebuild the .sln file?
- 10 Jul 2023, 07:00
- Forum: SFS2X C# API
- Topic: The type or namespace name 'Sfs2X' could not be found
- Replies: 10
- Views: 82556
Re: The type or namespace name 'Sfs2X' could not be found
We have seen this happen sometimes, not only with the SmartFox DLL, but also other DLLs. When this happens, usually stopping Unity, deleting the .sln file and obj folder does the trick and fixes the issue. About the DLL settings, you can also select "Ant platforms" if you wish, and then ex...
- 05 Jul 2023, 07:31
- Forum: SFS2X C# API
- Topic: Examples on the Unity Asset Store
- Replies: 0
- Views: 88290
Examples on the Unity Asset Store
We are happy to announce that all Unity examples for SmartFoxServer are now also available in the Asset Store as separate projects. Check our publisher page to find them all: https://assetstore.unity.com/publishers/7020 If you want to help spreading the word, please rate and leave a comment in the A...
- 27 Apr 2023, 08:15
- Forum: SFS2X C# API
- Topic: Updated Unity examples pack
- Replies: 0
- Views: 86604
Updated Unity examples pack
We have updated the Unity examples pack and tutorials for SmartFoxServer 2X. What's new? ⋅ New Shooter example and tutorial, substituting the outdated First Person Shooter example. ⋅ All examples now feature an Editor window providing setup instructions; all tutorials now referen...
- 27 Apr 2023, 07:51
- Forum: SFS2X C# API
- Topic: New C# API v1.8.1 released
- Replies: 0
- Views: 87235
New C# API v1.8.1 released
We just released v1.8.1 of the SFS2X C# client API for Unity / .Net / Mono / Universal Windows Platform. In this new version we added support for SmartFoxServer Cluster in Overcast (see http://docs-overcast.smartfoxserver.com/Clustering/build-cluster-client ) and updated the internal WebSocket-Sharp...
- 12 Apr 2023, 11:57
- Forum: SFS2X Questions
- Topic: Error on User.get_PrivilegeId
- Replies: 7
- Views: 5535
Re: Error on User.get_PrivilegeId
Also, we checked the GitHub thread you linked. We compared the latest version of the library with the one we use, and actually that ReadBytesAsync method was changed. Not sure it this can help, but we could try updating the library, if you agree testing it in your environment (as we are not able to ...
- 07 Apr 2023, 08:17
- Forum: SFS2X Questions
- Topic: Error on User.get_PrivilegeId
- Replies: 7
- Views: 5535
Re: Error on User.get_PrivilegeId
SFS2X Server Version: 2.19.0 SFS2X Client Version: 1.7.17 Edit: Just realised that the client API is a bit out of date. Will upgrade to 1.8.0 and see if it still ocurrs. Edit 2: Error still occurs. We also have a new one: |Fatal|<>c__DisplayClass174_0.<startReceiving>b__2|Sfs2X.WebSocketSharp.WebSo...
- 07 Apr 2023, 08:13
- Forum: SFS2X Questions
- Topic: Error on User.get_PrivilegeId
- Replies: 7
- Views: 5535
Re: Error on User.get_PrivilegeId
We're seeing this error in the client a lot recently. Not implemented: Class::FromIl2CppType game.loader.js:1:7011 MethodAccessException: Attempt to access method 'Sfs2X.Entities.User.get_PrivilegeId' on type '' failed. Rethrow as Exception: Error dispatching event userExitRoom: Attempt to access m...
- 20 Mar 2023, 08:17
- Forum: Job offers and requests
- Topic: Job offer: Unity multiplayer FPS demo game development
- Replies: 4
- Views: 18190
Re: Job offer: Unity multiplayer FPS demo game development
This job has been assigned and completed. We will publish the new example soon.
- 03 Mar 2023, 16:42
- Forum: SFS2X Questions
- Topic: Admin tool Log Viewer custom file load
- Replies: 14
- Views: 24797
Re: Admin tool Log Viewer custom file load
Yes, we tested in version 2.18 too, and it works fine. You should check if your jar contains the class only, or if it also contains dependancies (which shouldn't). At this url you can get our test project, which also includes our jar file to be deployed to extensions/__lib__: http://www.smartfoxserv...
- 03 Mar 2023, 13:04
- Forum: SFS2X Questions
- Topic: Admin tool Log Viewer custom file load
- Replies: 14
- Views: 24797
Re: Admin tool Log Viewer custom file load
We tested your class and setup and everything works as expected.
Make sure your jar file is generated correctly, and it contains the "GM/GameManagerReHandler.class" folder/file.
Make sure your jar file is generated correctly, and it contains the "GM/GameManagerReHandler.class" folder/file.
- 03 Mar 2023, 08:54
- Forum: SFS2X Questions
- Topic: Admin tool Log Viewer custom file load
- Replies: 14
- Views: 24797
Re: Admin tool Log Viewer custom file load
Can you please post the module declaration in your AdminTool.xml file?
- 02 Mar 2023, 15:40
- Forum: SFS2X Questions
- Topic: Admin tool Log Viewer custom file load
- Replies: 14
- Views: 24797
Re: Admin tool Log Viewer custom file load
The logged error mentions a previous error causing the module to be discarded.
Is there another error reported in the logs before that line?
Is there another error reported in the logs before that line?