Forum

This forum is for swapping tips or ideas with fellow users, suggesting new features, or showing of what you have created with the system etc, there is no guarantee of an answer to questions posted in the forum. All support questions must be submitted via the Support ticket system

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Mega-Fiers v2.31 import error
sloopidoop-
i
Newbie
Posts: 6
Permalink
Post Mega-Fiers v2.31 import error
on: March 7, 2013, 19:59
Quote

Hi,
I upgraded the Megafiers Asset to the latestet version today and get some error at import:

Assets/Mega-Fiers/Scripts/MegaFiers/MegaShape/MegaTracks.cs(131,36): error CS1501: No overload for method `SetActive' takes `0' arguments

Is this normal?
When I change the line in the script to : go.SetActive(true); The error is gone.

The same problem is in Megashapes v 1.40 :
Assets/Mega-Fiers/Scripts/MegaFiers/MegaShape/MegaTracks.cs(131,36): error CS1501: No overload for method `SetActive' takes `0' arguments

spookycat
Administrator
Posts: 148
Permalink
Post Re: Mega-Fiers v2.31 import error
on: March 7, 2013, 21:29
Quote

Unity have removed some methods that were used in Unity 4.0 and above, so there should be some conditional statements around those calls. Which version of Unity are you using?

spookycat
Administrator
Posts: 148
Permalink
Post Re: Mega-Fiers v2.31 import error
on: March 7, 2013, 21:32
Quote

Arr looked at the code, you need to put a 'true' between the brackets on that one, I dont have Unity 4 installed on the work machine as we have to keep it compatible with Unity 3.5, and I missed putting a true in that line

spookycat
Administrator
Posts: 148
Permalink
Post Re: Mega-Fiers v2.31 import error
on: March 7, 2013, 21:45
Quote

New version in the asset store with that line fixed.

sloopidoop-
i
Newbie
Posts: 6
Permalink
Post Re: Mega-Fiers v2.31 import error
on: March 8, 2013, 12:53
Quote

yeah, now everything works fine. But I had to make a clean new project. When i only override my assets with the new from the Assetstore, all script references on the tankwheel from the Megashapes rope scene are missing. Unity seems to cache some data.
(Yes I'm using Unity 4)

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.031 seconds.