Search Issue Tracker
Fixed
Fixed in 1.0.10
Votes
0
Found in [Package]
1.0.9
Issue ID
BEHAVB-290
Regression
No
Allow queueing of event channels
Steps to reproduce:
1. Create a new Behavior graph and open it
2. From the blackboard, Create a new EventChannel (named = "DefaultEventChannel", message = "On Event raised") and an integer variable "Event Count"
3. Add a StartOnEvent node and assign the EventChannel, then add and attach a log message to it.
4. Create an EventChannel object (from project view, right-click > Create > Behavior > Event Channel)
5. Assign the EventChannel object to the graph variable.
6. Create a EventTester Monobehavior (script below)
7. Assign the EventTester script to an object on the scene and set it's EventChannel variable with the object. Also set EventCounToSend variable to 2.
8. Enter playmode and press Space.
Actual results:
- Event log message is printed only once.
Expected results:
- Event log message is printed twice.
Reproducible with versions:
1.0.9
EventTester.cs
{code:c#}
using UnityEngine;
public class EventTester : MonoBehaviour
{
[SerializeField]
DefaultEventChannel m_Channel;
[SerializeField]
int m_EventCountToSend = 1;
void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
{
for (int i = 0; i < m_EventCountToSend; ++i)
{
m_Channel.SendEventMessage();
}
}
}
}
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment