Welcome,
Guest
. Please
login
or
register
.
October 03, 2024, 09:57:27 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
EventDelegate (ExecuteInEditModeAttribute) broken in Unity 5.0.0b17
« previous
next »
Print
Pages: [
1
]
Author
Topic: EventDelegate (ExecuteInEditModeAttribute) broken in Unity 5.0.0b17 (Read 4049 times)
schellenberghq
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 31
Game Programmer
EventDelegate (ExecuteInEditModeAttribute) broken in Unity 5.0.0b17
«
on:
December 12, 2014, 08:34:52 PM »
Error from console:
Assets/NGUI/Scripts/Internal/EventDelegate.cs(485,81): error CS0246: The type or namespace name `ExecuteInEditModeAttribute' could not be found. Are you missing a using directive or an assembly reference?
Apparently in Unity 5.0.0b17 ExecuteInEditModeAttribute breaks.
Logged
---------------------------
Jacob S.
Game Programmer
---------------------------
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: EventDelegate (ExecuteInEditModeAttribute) broken in Unity 5.0.0b17
«
Reply #1 on:
December 12, 2014, 11:59:36 PM »
Please report it to Unity, not me.
Logged
schellenberghq
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 31
Game Programmer
Re: EventDelegate (ExecuteInEditModeAttribute) broken in Unity 5.0.0b17
«
Reply #2 on:
December 15, 2014, 09:32:13 AM »
My apologies, I thought this was an NGUI issue, or perhaps that if Unity broke it, this might have to be updated in the NGUI framework.
Logged
---------------------------
Jacob S.
Game Programmer
---------------------------
schellenberghq
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 31
Game Programmer
Re: EventDelegate (ExecuteInEditModeAttribute) broken in Unity 5.0.0b17
«
Reply #3 on:
December 15, 2014, 09:58:29 AM »
I found that if I needed to comment out these lines from EventDelegate.cs script starting on line 482 and down. There is two times that this appears.
#if UNITY_4_3 || UNITY_4_5 || UNITY_4_6
object
[
]
objs
=
type
.
GetCustomAttributes
(
typeof
(
ExecuteInEditMode
)
,
true
)
;
#else
// object[] objs = type.GetCustomAttributes(typeof(ExecuteInEditModeAttribute), true);
#endif
// if (objs == null || objs.Length == 0) return true;
}
Logged
---------------------------
Jacob S.
Game Programmer
---------------------------
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: EventDelegate (ExecuteInEditModeAttribute) broken in Unity 5.0.0b17
«
Reply #4 on:
December 15, 2014, 12:54:38 PM »
Yup, Unity seems to have removed their previously added ExecuteInEditModeAttribute, going back to the ExecuteInEditMode they had before.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
EventDelegate (ExecuteInEditModeAttribute) broken in Unity 5.0.0b17