Unity examples broken?

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

MayhemMike
Posts: 3
Joined: 08 Apr 2021, 14:09

Unity examples broken?

Postby MayhemMike » 08 Apr 2021, 14:27

Hi,
had a look at the Unity examples, in particular Connector and Lobby so far but both scenes can not properly load on my end, no matter which Unity version I try. The scenes have missing objects, missing fonts, missing scripts etc... the prefabs as well. I was able to get them running in the end but I was wondering if the example files have issues or if this must be caused by something on my end?
User avatar
Bax
Site Admin
Posts: 4535
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Unity examples broken?

Postby Bax » 08 Apr 2021, 14:57

Hello.
We tested our examples both in Windows and macOS, and we never experienced "missing-something" errors. Also, this has never been reported before by other users.

Can you provide more information? What OS are you using? What Unity version? Did you download the examples pack from our website (recommended!), or did you get the demo package from the Asset Store?
Did you follow the setup instructions provided in the tutorial of each example? (i.e. http://docs2x.smartfoxserver.com/ExamplesUnity/connector)
Paolo Bax
The SmartFoxServer Team
MayhemMike
Posts: 3
Joined: 08 Apr 2021, 14:09

Re: Unity examples broken?

Postby MayhemMike » 08 Apr 2021, 15:20

Recorded it how it looks on my end. This is on first open, fresh after unzipping:
https://youtu.be/WmhVhuYIB-A

It's Win10, in the video I used Unity version 2018.2.21 but I also tried it with 2020.2.3f1.
I downloaded the examples from here: http://www.smartfoxserver.com/download/get/224
User avatar
Bax
Site Admin
Posts: 4535
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Unity examples broken?

Postby Bax » 09 Apr 2021, 07:51

:shock: :shock: :shock:
Let's test this again then... :roll:
I'll let you know soon if we find anything.
Paolo Bax
The SmartFoxServer Team
User avatar
Bax
Site Admin
Posts: 4535
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Unity examples broken?

Postby Bax » 09 Apr 2021, 08:21

We tested using Unity 2019.2.20f1, but the same goes with other versions.
The project is loaded correctly and works as expected. See this image:

img.jpg
(85.29 KiB) Not downloaded yet

Not sure why in your setup it doesn't work. Looks like something related to Unity, but I'm not sure how to help.
Did you try saving and closing the project, and the reopening it later? Sometimes I've seen errors in Unity magically disappear.
Paolo Bax
The SmartFoxServer Team
MayhemMike
Posts: 3
Joined: 08 Apr 2021, 14:09

Re: Unity examples broken?

Postby MayhemMike » 09 Apr 2021, 08:55

hm, strange.
I noticed that the camera objects have missing scripts as well but none of the projects contain any scripts that belong on a camera.
https://imgur.com/5cjir7k

Feels a bit like as if my version is missing a package. Something like the old "Standard Assets".

Could you make a screenshot of your expanded "Packages" list like this:
https://imgur.com/5i1A8wO

Maybe I can find the missing culprit.

Edit: jep tried saving/closing/reimporting, the whole thing
User avatar
Bax
Site Admin
Posts: 4535
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Unity examples broken?

Postby Bax » 09 Apr 2021, 10:31

Here you go:

Schermata 2021-04-09 alle 12.30.00.png
(110.32 KiB) Not downloaded yet
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 16 guests