I got the elimination addon and the main script has some errors.

Post Reply
dev4523
Posts: 8
Joined: Thu Apr 15, 2021 5:04 pm

I got the elimination addon and the main script has some errors.

Post by dev4523 » Thu May 27, 2021 6:33 pm

Maybe I imported it wrong? I just bought it from the asset store and used the package manager to import it.
Screenshot (32).png
Screenshot (32).png (49.32 KiB) Viewed 249 times
Assets\314 Arts\Addons\GameModes\Elimination\Scripts\Kit_PvP_GMB_Elimination.cs(9,18): error CS0234: The type or namespace name 'Spectating' does not exist in the namespace 'MarsFPSKit' (are you missing an assembly reference?)
Assets\314 Arts\Addons\GameModes\Elimination\Scripts\Kit_PvP_GMB_Elimination.cs(74,25): error CS0246: The type or namespace name 'Spectateable' could not be found (are you missing a using directive or an assembly reference?)
Screenshot (32).png
Screenshot (32).png (49.32 KiB) Viewed 249 times
(Sorry I ask a lot of questions)
Attachments
Screenshot (33).png
Screenshot (33).png (109.89 KiB) Viewed 248 times

User avatar
themars2011
Site Admin
Posts: 80
Joined: Mon Dec 02, 2019 8:59 pm
Location: Germany
Contact:
themars2011’s avatar
Loading…

Re: I got the elimination addon and the main script has some errors.

Post by themars2011 » Sat Jun 05, 2021 6:31 pm

The solution is simple:
Your base kit version is too old for the elimination addon. It requires at least 0.7.2.0 as stated on the store page, because it requires spectator mode.
Asset links posted by me may be affiliate links using the Unity Affiliate Program and yield a small amount of share at no additional cost for the buyer should a purchase be made.

Post Reply