1 (edited by miladzarrin1 2022-04-13 08:59:41)

Topic: Error on AI

Hey guys,
I get this error when I try to fight against the CPU. It only happens on the build. Does anyone know why?

AI Bug

Webgl3.framework.js:1764 ArgumentException: Linguistic label NOT was not found on the variable 028_HealthStatus_Self.
  at AForge.Fuzzy.Rule.ParseRule () [0x00000] in <00000000000000000000000000000000>:0 
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <00000000000000000000000000000000>:0

It keeps happening and the game doesn't load at all. Any help is appreciated. Thanks

Share

Thumbs up Thumbs down

Re: Error on AI

Are you using WebGL?

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

Re: Error on AI

Mistermind wrote:

Are you using WebGL?

yes

Share

Thumbs up Thumbs down

Re: Error on AI

WebGL is known to be somewhat limited, and Fuzzy AI can be particularly demanding.
There is a feature under Global -> Fuzzy AI that was suppose to serve as a work around for WebGL ports called "Multi Core Support" but due to an update made by Unity this might no longer work.

An alternative solution could be to reduce the amount of conditions the AI can work with. Under the Fuzzy AI editor, try going to Advanced Options -> Attack Options and disable some of the filters. This might affect some of the AI's ability to react, so I recommend testing them individually.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

Re: Error on AI

Mistermind wrote:

WebGL is known to be somewhat limited, and Fuzzy AI can be particularly demanding.
There is a feature under Global -> Fuzzy AI that was suppose to serve as a work around for WebGL ports called "Multi Core Support" but due to an update made by Unity this might no longer work.

An alternative solution could be to reduce the amount of conditions the AI can work with. Under the Fuzzy AI editor, try going to Advanced Options -> Attack Options and disable some of the filters. This might affect some of the AI's ability to react, so I recommend testing them individually.


Thanks for the answer. Is there any other option than Fuzzy AI to give a minimum behavior to the CPU fighters? Something that work with the WebGL?

Share

Thumbs up Thumbs down

Re: Error on AI

What's random AI that's available in the feature list?

Share

Thumbs up Thumbs down

Re: Error on AI

Its a different type of AI that uses less memory to operate.
Think of it as a button masher:
http://www.ufe3d.com/doku.php/global:aioptions

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

Re: Error on AI

Thanks for the explaination.

I might have missed something, but there's something strange when AI is playing. They hit back mid-falling or don't fall at all. Like in the video below. I control the left character and the right one is controlled by random AI. Do you know what it could be?

https://www.youtube.com/watch?v=tA2ThwmVshc

Share

Thumbs up Thumbs down

Re: Error on AI

@mistermind any thoughts on the video?

Share

Thumbs up Thumbs down

Re: Error on AI

You might be missing a hit reaction in basic moves.

Anything in the unity console when you do this?

Hard to say for sure but, I'd start looking in that area.

Share

Thumbs up Thumbs down

Re: Error on AI

No I am not talking about the hit reaction.
My problem is the right character (controlled by AI) tries to hit me halfway falling. It shouldn't be possible. right? It only happens when it's on AI. Doesn't happen with keyboard.

Share

Thumbs up Thumbs down