Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by mike 5 · Feb 09, 2011 at 04:06 PM · frameworkdetonator

Detonator Framework Unity 2.6

Im using Unity 2.6 and trying to get the Detonator framework working, when I install it, it seems to go in fine but as soon as its complete my console is full of error and warnings. Also I am using Detonator framework for the 2.6 Unity.

These errors happen in reverse order.

Cg in program 'vert': warning C7011: implicit cast from "float4" to "float3" at line 79

Cg in program 'vert': error C1115: unable to find compatible overloaded function "mul(error, float4)" at line 79

Cg in program 'frag': warning C7011: implicit cast from "float4" to "float3" at line 79

Cg in program 'frag': error C1105: cannot call a non-function at line 38

Cg in program 'frag': error C1008: undefined variable "UnpackNormal" at line 38

Cg in program 'frag': error C1105: cannot call a non-function at line 37

Cg in program 'frag': error C1008: undefined variable "UnpackNormal" at line 37

Cg in program 'frag': error C1105: cannot call a non-function at line 36

Cg in program 'frag': error C1060: incompatible types in initialization at line 36

Cg in program 'frag': error C1008: undefined variable "UnpackNormal" at line 36

Assets/Standard Assets/Detonator/System/DetonatorBurstEmitter.cs(227,33): warning CS0162: Unreachable code detected

Assets/Standard Assets/Detonator/System/DetonatorBurstEmitter.cs(223,58): error CS1501: No overload for method Emit' takes7' arguments

any help would be great.

Cheers

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image GesterX · Feb 09, 2011 at 04:37 PM 0
Share

Any reason why you can't use the latest version of Unity and see if the error still occurs?

avatar image mike 5 · Feb 09, 2011 at 08:10 PM 0
Share

Yeah, we have a load of code from other DLL's that we use that are riddled with Errors in Unity 3.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Drandoss · Feb 12, 2011 at 07:29 PM

I decided too take a look at this for unity 2.5, with alot more wrong than what you have listed, however I found a easy solution at least for 2.5, Im assuming 2.6 will yield the same results.

Step 1: import the detonator package errors and all. In 2.5 I crash hard the moment it starts loading the prefabs from det package, but it doesnt matter the rest of the package gets loaded regardless.

Step 2: Close unity, Locate the Folder you put the Detonator, Defualt is Standard Assets/Detonator, And Delete all the prefabs.

Step 3: Reopen unity, Find DetonateBurstEmitter, if your using 2.5 Debug will give you this error Assets/Standard Assets/Detonator/System/DetonatorBurstEmitter.cs(223,58): error CS1501: No overload for method Emit' takes7' arguments.

Step 4 : change the line _particleEmitter.Emit(_tmpPos, _tmpDir, _tmpParticleSize, _tmpDuration, color, _randomizedRotation, _tmpAngularVelocity);

Too this

_particleEmitter.Emit(_tmpPos, _tmpDir, _tmpParticleSize, _tmpDuration, color);

-This will only leave you with 2 warning about the _tmpParticle and tmpDuration vars not being used, but Detonator will now work quite Well with out them, Im pretty sure theres a way too Overload this right and get the full statment too compile perhaps somone else can add too this for a better fix. As far as the CG errors go thats in the Shaders provided, ive yet too fix these myself, however the detonator package is still quite usefull with out the distortion shaders, and there easyily replaced.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

What makes frameworks like Detonator or the Terrain Toolkit not work for iPhone? 1 Answer

Where is micro framework used? 1 Answer

i had error while debbuging a code in mono developunity editor i cant ressolve this error 0 Answers

XCode Swift Compiler Error Use of Unresolved Identifier "UnitySendMessage" how to fix? 2 Answers

Advice on using the detonator scripts 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges