|
Post by heavenward on Aug 21, 2018 3:57:26 GMT
Hello, I have only one wave setting that I use for my endless game. I increment the enemies through the repeat wave function using the spawn increase value. However, when the player dies, I call LevelSettings.RestartGame(); to hopefully restart the wave. The problem is that the wave still has the incremented values from the repeat wave function when I resume the game. Am I missing a function that I must call to return the wave setting to its initial value?
|
|
|
Post by DarkTonic Dev on Aug 21, 2018 5:28:35 GMT
Show me your spawner wave settings. It may or may not be a bug depending on how you're doing it.
|
|
|
Post by heavenward on Aug 21, 2018 9:48:39 GMT
|
|
|
Post by DarkTonic Dev on Aug 21, 2018 16:52:27 GMT
I can take a look tomorrow, sorry you need to wait.
|
|
|
Post by DarkTonic Dev on Aug 22, 2018 0:11:17 GMT
I found some time. Reproduced and fixed the bug for the next update. You can email support@darktonic.com with the PDF of your Asset Store purchase to get the beta early if you like.
|
|
|
Post by heavenward on Aug 22, 2018 3:53:23 GMT
Thanks a lot! I'll send an email. 
|
|
|
Post by DarkTonic Dev on Aug 22, 2018 4:24:50 GMT
No problem. I don't like bugs to stay once I find out about them!
|
|
|
Post by heavenward on Aug 22, 2018 13:22:13 GMT
Hello! I've tested the beta, and the time increase was reset, but the 1st wave spawns one or two extra objects only at the start. The 2nd wave is fine. So the wave spawn count should be 3, 5, 7, 9...etc. But when I call LevelSettings.RestartGame();, it becomes 4 or 5, 5, 7, 9...etc.
|
|
|
Post by DarkTonic Dev on Aug 22, 2018 15:47:44 GMT
Not happening for me. Works perfectly. If you want me to debug you'll need to send me your Scene, or modify my Example Scene to break as you're describing and send it.
|
|
|
Post by heavenward on Aug 22, 2018 16:56:20 GMT
I see, let me check again on my side. Thanks!
|
|
|
Post by DarkTonic Dev on Aug 22, 2018 16:59:49 GMT
Ok.
|
|
|
Post by heavenward on Sept 11, 2018 1:57:02 GMT
Sorry for resurrecting an old post, but it's still happening, and I'm nearing my game release.  Can I email to you a project file where I recreated the bug?
|
|
|
Post by DarkTonic Dev on Sept 11, 2018 5:08:54 GMT
Got the email, will check tomorrow hopefully and report back.
|
|