|
Post by rolfy on Jan 11, 2018 2:52:18 GMT
It may be that I am missing something explained or covered already and apologize in advance. I have found it fairly easy to integrate the spell system into my project and it is pretty awesome, many thanks to you guy's for creating this and making it available to us.
Everything works perfectly in editor level tests for me but if I try to build I receive an 'Error building Player because scripts had compiler errors'. I tracked this down to scripts 'using UnityEditor' line which took a few since there was no description in the error message. I am using Unity 5.6.4f1. I am no expert but believe any scripts with the line 'using UnityEditor;' need to be in an Assets/Editor folder to build properly and if they aren't will throw up the error above. Haven't had much time to go through all the scripts but one such at least is ShadexComponents.cs. I have tried a few methods to fix this error including placing the script in editor folder and removing 'using UnityEditor' line, I even tried:
#if UNITY_EDITOR using UnityEditor; #endif
But I just run into new different errors so I am out of my depth with this one. I am using melee combat controller and correct ShadesSpellSystem Melee version. Same happens in a clean project trying to build any scene from the spell system examples....
The most recent update (today) of the Melee controller has a whole bunch of new errors on importing the spell system, but that is a different problem for now, just saying as you might want to look at it:)
Any advice would be great and thanks in advance.
|
|
|
Post by magique on Jan 11, 2018 4:47:15 GMT
If I had a dollar for every time I got editor script errors from an asset when building stand-alone, I'd be a wealthy man. One wonders if asset authors ever actually build their tools in stand-alone mode. Kind of scary actually.
|
|
|
Post by rolfy on Jan 11, 2018 10:09:38 GMT
Purchased a lot of store assets and haven't had any issues with any of those so far, this is a free add on and feel perfectly happy to be patient with the developers since their generosity is appreciated Not even sure if problem is with my set up or not anyhow, even if I had purchased it and if it's on their end I reckon a chance to help me with it before getting upset or pointing fingers would be the correct and decent approach to it.
|
|
|
Post by magique on Jan 11, 2018 14:39:20 GMT
Rolfy, I'm not trying to be mean or point fingers. And I'm very patient and have even worked through and fixed editor stand-alone issues for authors in the past. I have several hundred store assets and I'm just being honest. I actually just fixed AltTrees less than 2 days ago for this very same kind of issue. And I can honestly say that I've seen it more times than I can remember. I just think it would be really nice if authors would take the time to build a stand-alone version to make sure it works. It's a bit scary that they create these massive assets for game development, but have never built stand-alone. Doesn't that seem odd to you?
Btw, this is Tom from the old Game Guru. I made the Rescue the Princess game. Good to see you again.
|
|
|
Post by darknubis365 on Jan 11, 2018 17:24:59 GMT
How did you guys get the spells to activate it only punches for me.I did see scripts in the first post am i suppose to add those to my player in the required positions all i done were crank up the spell showcase demo and i've hit every button i think and no spell casting some cool ass effects is all so far lol
|
|
|
Post by rolfy on Jan 11, 2018 20:53:54 GMT
Hey Magique, just speaking personally, as you know I am a complete noob with Unity so cant say yet if any problems are my own doing so I need to show some patience and need all the help I can get. Nice to run into you here. As an asset creator myself I have encountered many times a new user who goes off on me when they can't get something to work which would be a simple user error so I tend to think that way first before getting annoyed. I reckon once I have been around a few years I will be the grumpy old bugger you know well It doesn't seem odd to me that many asset creators spend most time creating and don't build games, I am a little like that myself and now that I want to build an actual game need an engine that does the job without a bunch of workarounds and fake effects. Unity is awesome but I spend as much time fixing errors with every change and update made to it but still learning a lot and enjoying the challenge. Keys F1-F5 to spell cast Don't want to hijack this thread any further....any clues on how to fix my problem? Lol.
|
|
|
Post by projectsolid on Jan 12, 2018 15:34:08 GMT
Hello,
It seems with the new Unity update it is causing all the exit transitions to be removed. I think I corrected them all but I'm still receiving this error:
Asset 'MagicMeleeCombatv2': Transition 'Fireball (2) Release -> INVALID' in state 'Fireball (2) Release' transitions to state '' which does not exist in controller.
Do you know what this means?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 16, 2018 18:00:35 GMT
It may be that I am missing something explained or covered already and apologize in advance. I have found it fairly easy to integrate the spell system into my project and it is pretty awesome, many thanks to you guy's for creating this and making it available to us. Everything works perfectly in editor level tests for me but if I try to build I receive an 'Error building Player because scripts had compiler errors'. I tracked this down to scripts 'using UnityEditor' line which took a few since there was no description in the error message. I am using Unity 5.6.4f1. I am no expert but believe any scripts with the line 'using UnityEditor;' need to be in an Assets/Editor folder to build properly and if they aren't will throw up the error above. Haven't had much time to go through all the scripts but one such at least is ShadexComponents.cs. I have tried a few methods to fix this error including placing the script in editor folder and removing 'using UnityEditor' line, I even tried: #if UNITY_EDITOR using UnityEditor; #endif But I just run into new different errors so I am out of my depth with this one. I am using melee combat controller and correct ShadesSpellSystem Melee version. Same happens in a clean project trying to build any scene from the spell system examples.... The most recent update (today) of the Melee controller has a whole bunch of new errors on importing the spell system, but that is a different problem for now, just saying as you might want to look at it:) Any advice would be great and thanks in advance. Hi Rolfy if you read the 1st post it says to download the latest scripts from github, that will solve your build errors relating to the unityeditor inclusion, it was due to an oversight on my part, do note that when choosing between sqllite and easysave2 if choosing sqllite you do need the correct dll from the sqllite site. as for issues with the latest melee controller, i will create a test project for this, could you list what compile errors you are receiving? thanks Shades of Insomnia
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 16, 2018 18:05:36 GMT
If I had a dollar for every time I got editor script errors from an asset when building stand-alone, I'd be a wealthy man. One wonders if asset authors ever actually build their tools in stand-alone mode. Kind of scary actually. your analysis is correct, our original release we didnt build to exe, this was corrected rapidly, simply delete the scripts folder and replace with the github scripts folder, there have been 31 commits of glitch fixes including the unity editor errors on build.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 16, 2018 18:08:11 GMT
Purchased a lot of store assets and haven't had any issues with any of those so far, this is a free add on and feel perfectly happy to be patient with the developers since their generosity is appreciated Not even sure if problem is with my set up or not anyhow, even if I had purchased it and if it's on their end I reckon a chance to help me with it before getting upset or pointing fingers would be the correct and decent approach to it. appreciate your approach, this is actually an open source project, the idea being that any improvments that are made are shared with all, for everyones benefit. We will certainly endeavor to help with any issues that arise. Rolfy, I'm not trying to be mean or point fingers. And I'm very patient and have even worked through and fixed editor stand-alone issues for authors in the past. I have several hundred store assets and I'm just being honest. I actually just fixed AltTrees less than 2 days ago for this very same kind of issue. And I can honestly say that I've seen it more times than I can remember. I just think it would be really nice if authors would take the time to build a stand-alone version to make sure it works. It's a bit scary that they create these massive assets for game development, but have never built stand-alone. Doesn't that seem odd to you? Btw, this is Tom from the old Game Guru. I made the Rescue the Princess game. Good to see you again. no finger pointing now hahaha however this oversight was noticed early on, let me know how you get on with the github scripts github.com/ShadesOfInsomnia/SpellSystem the breaks caused by the latest melee controller will be looked at when i get a sec, feel free to list them
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 16, 2018 18:15:17 GMT
How did you guys get the spells to activate it only punches for me.I did see scripts in the first post am i suppose to add those to my player in the required positions all i done were crank up the spell showcase demo and i've hit every button i think and no spell casting some cool ass effects is all so far lol see the magic settings component on the player in either of the two lobby scenes, if you expand the array you will see standard generic invector inputs, change these to any key set you feel works best for your game
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 16, 2018 18:18:20 GMT
Hello, It seems with the new Unity update it is causing all the exit transitions to be removed. I think I corrected them all but I'm still receiving this error: Asset 'MagicMeleeCombatv2': Transition 'Fireball (2) Release -> INVALID' in state 'Fireball (2) Release' transitions to state '' which does not exist in controller. Do you know what this means? this is actually one of the outstanding issues, it only effects charging spells, which work fine but we never got down to the actual solution to the warning, i see u have added to the github issue list so it will get resolved in due course. Note this is not due to the new unity version and was appearing in 2017.1 and 2017.2 if you solve it before we get to it please post the solution
|
|
|
Post by shadex on Jan 16, 2018 20:32:09 GMT
Hello, It seems with the new Unity update it is causing all the exit transitions to be removed. I think I corrected them all but I'm still receiving this error: Asset 'MagicMeleeCombatv2': Transition 'Fireball (2) Release -> INVALID' in state 'Fireball (2) Release' transitions to state '' which does not exist in controller. Do you know what this means? That is the charged fireball state not having an exit. That should be located in upper body under the magic substate. Those are spells that you can charge up and release to fire while still being able to move/walk around. It's not with the other magic spells in the full body layer, so you might of missed that one.
|
|
|
Post by shadex on Jan 16, 2018 22:05:02 GMT
Rolfy, I'm not trying to be mean or point fingers. And I'm very patient and have even worked through and fixed editor stand-alone issues for authors in the past. I have several hundred store assets and I'm just being honest. I actually just fixed AltTrees less than 2 days ago for this very same kind of issue. And I can honestly say that I've seen it more times than I can remember. I just think it would be really nice if authors would take the time to build a stand-alone version to make sure it works. It's a bit scary that they create these massive assets for game development, but have never built stand-alone. Doesn't that seem odd to you? Btw, this is Tom from the old Game Guru. I made the Rescue the Princess game. Good to see you again. You didn't actually read the first post or the instructions did ya? That might help. It includes the built stand-alone fix, and has since about 14 hours after we initially released the system. If you want to help fix the asset, you can via GitHub, or post fixes here, as we gladly appreciate them. Now, Tom, from Game Guru (is that the old game dev website, or the app on steam that lets you make flash like games?) we all have hundreds if not thousands of store assets. This is not one of them. We released this for free, after we made the system for our own personal games, because people kept asking on the forum for Generic AI, Spell Systems, Skill systems, Main Menu screens, etc. We made no claim that this would even be supported, and do so by taking time out of our own games to help. Now if you would like this to be supported full time, I'd be happy to let you, and i'm sure insomnia would have no objections. We could cut you in to the profit sharing at 33% of $0.00 for your work! Otherwise, i am hoping we, as a community, we can help support this system. BTW, What's Rescue the Princess? Do you mean Mario? Or is that the actual game title? A link would be great. I love seeing peoples completed games!
|
|
|
Post by shadex on Jan 16, 2018 22:07:55 GMT
Ok, actively working on fixing the problems with the new invector update, and looking at fixing the errors on the animator. I'll let you know when i'm done and update the first page when finished.
|
|