← Back to all addons

๐Ÿž [3.0 | 3.1 | 3.2] Fix monsters not spawning in release builds

Posted by Gyvr on Jul 17, 2025 at 7:08 PM

GameplayBug Fix3.0 Verified
โค๏ธ 4

This bug was reported by @Centillion Entertainment and @8Bit Rpg.

In AMonsterSpawner.cs line 88. Replace:

Debug.Assert(isValid, "MonsterSpawner validation failed. Make sure the total spawn rate is equal to 100");

by

bool isValid = Validate();
Debug.Assert(isValid, "MonsterSpawner validation failed. Make sure the total spawn rate is equal to 100");

๐Ÿ’ฌ Comments (14)

Centillion Entertainment Aug 05, 2025 at 01:36 PM
Will this be fixed in 3.3?
Gyvr Aug 05, 2025 at 02:28 PM
Yes!!
๐Ÿ‘ 1
SvanDark Aug 12, 2025 at 07:09 AM

Am I doing something wrong? ๐Ÿค”

I did what you said (replace line 88 in the code), however they’re still not spawning for me

Gyvr Aug 12, 2025 at 01:09 PM
Are you still having the issue only in release builds or in any build + editor? Can you share what your code looks like around line 88? Also, any error in the console? If any other script doesnโ€™t compile for any reason, the changes you make to AMonsterSpawner wonโ€™t be applied either
SvanDark Aug 12, 2025 at 05:29 PM

I have tried it in release builds and in the editor, no i am not getting any errors at all, and sure here’s my code around line 88:

I do get that you said to replace it on line 88, but the lines that you told us to replace was on line 84, so i assume you pobably made a mistake? i dunno

Gyvr Aug 12, 2025 at 06:13 PM
If this code is on line 84, it means you are on M2D 3.1 and not 3.2
SvanDark Aug 12, 2025 at 06:17 PM
oh what i thought i have updated it, give me a sec then
Gyvr Aug 12, 2025 at 06:18 PM
Donโ€™t forget to fix missing references after updating : <#1383841822551314533>
SvanDark Aug 12, 2025 at 06:22 PM
yep will do! just updated so i’ll do it now and lyk asap!
๐Ÿ‘Œ 1
SvanDark Aug 12, 2025 at 06:59 PM

it still isnt working for some reason ๐Ÿค” and this is how the code looks

no errors or anything like that

Gyvr Aug 12, 2025 at 07:00 PM
Just double checking again, does it work in the editor?
SvanDark Aug 12, 2025 at 07:00 PM
nope
Gyvr Aug 12, 2025 at 07:02 PM
So then itโ€™s not related to this fix. This add-on makes sure that release builds donโ€™t break because of the โ€œValidate()โ€ method not being called. Can you open a support post for your issue, and share your complete spawner configuration?
SvanDark Aug 12, 2025 at 07:02 PM
Yeah sure i’ll open a suppor thread! 1 sec

Want to continue the conversation?