Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: PolyMad on October 22, 2021, 09:03:46 PM

Title: Get Scene Count In Build Settings - not working
Post by: PolyMad on October 22, 2021, 09:03:46 PM
It always gives me 0, no matter what.
I have put 4 scenes in it, just to be sure, but it's still 0.
However, this happens when I test the game in Unity, not when I build it.
Maybe this is the problem?
Title: Re: Get Scene Count In Build Settings - not working
Post by: PolyMad on October 22, 2021, 09:14:55 PM
OK just tried a build and it seems that the action is not working.

Well I'm setting it manually for now, no big deal, but it would be nice to have a fix.
Title: Re: Get Scene Count In Build Settings - not working
Post by: Alex Chouls on November 05, 2021, 02:52:21 PM
I just did a quick test here and it seems to be working. What version of Unity are you using? Is anything else setting the ScenesInBuild variable, maybe after the action runs?
Title: Re: Get Scene Count In Build Settings - not working
Post by: PolyMad on November 06, 2021, 11:45:54 AM
Hi, Unity is 2020.3.9f1.
You can see a video here:

Title: Re: Get Scene Count In Build Settings - not working
Post by: djaydino on November 07, 2021, 09:50:57 AM
Hi.
Can you try the action in a separate state