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
- Font Asset Creator results bright font colors are not light theme friendly
- Font Asset Creator Font Atlas preview disappears when saved
- When an application is built with Development Build, it results in increase in GUI.Repaint due to DeveloperConsole calls
- Font Asset Creator Font Face dropdown is active but does nothing when clicked if the Font has Include Font Data disabled
- Crash on PPtr<Shader>::operator Shader*() const when Calling Resources.UnloadUnusedAssets() in a specific project
Add comment