Giter Site home page Giter Site logo

devoelgaard / utility-ai-creator-for-unity Goto Github PK

View Code? Open in Web Editor NEW
23.0 3.0 0.0 15.55 MB

Fast implementaion of Utility AI in Unity

C# 100.00% Smalltalk 0.01%
ai editor framework unity unity2d unity3d unity3d-plugin uac utility-ai utility-system

utility-ai-creator-for-unity's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

utility-ai-creator-for-unity's Issues

AgentAction scripts within a namespace causes null exceptions

If an AgentAction is wrapped in any namespace it will appear in the list of actions but selecting it will cause a NullReferenceException with the following stack trace:

NullReferenceException: Object reference not set to an instance of an object
Decision.SetParent (AiObjectModel parent, System.Int32 indexInParent) (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Runtime/Models/Decisions/Decision.cs:78)
AiObjectModel.UpdateInfo () (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Runtime/Models/Abstract/AiObjectModel.cs:71)
UtilityContainer.UpdateInfo () (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Runtime/Models/Abstract/UtilityContainer.cs:65)
Decision.UpdateInfo () (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Runtime/Models/Decisions/Decision.cs:89)
Decision.<set_AgentActions>b__6_0 (System.Collections.Generic.List`1[T] _) (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Runtime/Models/Decisions/Decision.cs:27)
UniRx.Observer+Subscribe`1[T].OnNext (T value) (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Editor/UniRx/Scripts/Observer.cs:165)
UniRx.InternalUtil.ListObserver`1[T].OnNext (T value) (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Editor/UniRx/Scripts/InternalUtil/ListObserver.cs:39)
UniRx.Subject`1[T].OnNext (T value) (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Editor/UniRx/Scripts/Subjects/Subject.cs:68)
UniRxExtension.ReactiveList`1[T].Add (T element) (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Runtime/Services/UniRxExtension/ReactiveList.cs:38)
UniRxExtension.ReactiveListNameSafe`1[T].Add (T element) (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Runtime/Services/UniRxExtension/ReactiveListNameSafe.cs:24)
CollectionViewModel`1[T].AddElement (T element) (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Editor/UI/Components/Collection/CollectionViewModel.cs:137)
CollectionViewModel`1[T].AddCopy (System.String aiObjectName) (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Editor/UI/Components/Collection/CollectionViewModel.cs:132)
CollectionViewModel`1[T].OnAddCopyValueChanged (UnityEngine.UIElements.ChangeEvent`1[T] evt) (at ./Library/PackageCache/net.devoe.ai.uas@cb364dac50/Editor/UI/Components/Collection/CollectionViewModel.cs:119)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <605bf8b31fcb444b85176da963870aa7>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <17484a9af6b944dea5cd9be4dbb0da2c>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <17484a9af6b944dea5cd9be4dbb0da2c>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <17484a9af6b944dea5cd9be4dbb0da2c>:0)

Saving the project from this point will also cause exceptions unless the decision is removed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.