Git Product home page Git Product logo

serializableaction_unity's People

Contributors

baste-raingames avatar bbuanes avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

serializableaction_unity's Issues

Assembly Definitions

See thread in the forums.

When moving a code file to a different assembly, any serialized action referencing the code needs to change. SerializableAction should make a best-effort attempt to recover from such errors, and give the user a proper error message if that's not possible.

Problem with Builds & IL2CPP

Hi!

First of all, GREAT plugin! Thank you! I've changed all UnityEvents and integrated your plugin to my game. It is very flexible and just perfect for my needs ๐Ÿค˜๐Ÿป

I'm using 2017.2 & Mac

First, I want to report you a bug which is sometimes happens and I fixed it with a workaround (I don't think it's a good one). SerializableSystemType:53 causes Errors when m_AssemblyQualifiedName is null. It happens when I select an Object in the inspector and Inspector gets refreshed continuously and I can't change anything without pressing cmd+z. I don't know why it'd be null, but I added if(m_AssemblyQualifiedName == null) m_AssemblyQualifiedName=""; just before :53 and the errors has gone. I think this happens after the first actions that I add.

My main problem is builds. I once saw an IL2CPP error, which says "... doesn't supported in IL2CPP ...", I couldn't reproduced this same error again. But, I have a reproducible problem this time.

This is my example action list:

ekran resmi 2017-12-09 21 05 08

Some methods doesn't work in the builds. Everything works fine in the editor. These are the messages:
"Trying to invoke SerializableAction, but the serialized action target set_enabled has been deleted!
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
SerializableActions.SerializableAction:Invoke()
c__Iterator0:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)"
"Trying to invoke SerializableAction, but the serialized action target set_bodyType has been deleted!"
"Trying to invoke SerializableAction, but the serialized action target set_enabled has been deleted!"
"Trying to invoke SerializableAction, but the serialized action target set_enabled has been deleted!"
"Trying to invoke SerializableAction, but the serialized action target set_enabled has been deleted!"
"Trying to invoke SerializableAction, but the serialized action target SetParent has been deleted!"
"Trying to invoke SerializableAction, but the serialized action target SetParent has been deleted!"
"Trying to invoke SerializableAction, but the serialized action target set_enabled has been deleted!"
"Trying to invoke SerializableAction, but the serialized action target set_simulated has been deleted!"
"Trying to invoke SerializableAction, but the serialized action target SetParent has been deleted!"

This method invoking at the end of an IEnumerator by the way. But, I don't think that's the problem. It probably can't find Unity methods or these are not serializing while building the project. Also, my script is attached to a prefab and all referenced objects are in that prefab as child objects (as seen in the screenshot).

Do you have any suggestions to fix that, or anything you want me to try?

Issue with dealing with List<SerializableAction>

Hi there,

First of all, this is a great plugin! I can get to call methods which need more than one parameter, let alone Enum parameters!

Second, I have an issue with regards to dealing with List field(s). Here is my code:

[System.Serializable]
public class Step
{
    public SerializableAction OnStartedAction;
    public SerializableAction OnFinishedAction;
}
public class StepManager : MonoBehaviour
{
    [SerializeField] private List<Step> steps;
}

The issue here is when I select a particular action listener of OnStartedAction in Element 0, the OnStartedAction listener of the same index in Element 1 is also selected.
image

Second, when I add a new listener to OnStartedAction in Element 0, a new listener gets added to OnStartedAction in Element 1:
image

Third, I dragged a Cube game object onto OnStartedAction in Element 0, and the same thing happens in OnStartedAction in Element 1:
image

May I request that you fix this issue at the soonest?

Thank you!

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.