Search Issue Tracker
Fixed
Fixed in 1.0.6
Votes
0
Found in [Package]
1.0.5
Issue ID
BEHAVB-89
Regression
No
Setting enum values in blackboard not respecting assigned values.
Steps to reproduce:
1. In a behavior graph create a new enum via the blackboard menu. Create a few fields but assign bitflag values (1, 2, 4, 8).
enum EEnum
{
None=0,
A=1,
B=2,
C=4,
D=8
};
2. In SetBlackboardVariableValueCommandHandler put a breakpoint in Process and set the blackboard value to A, B, C or D.
3. Observe that command.Value is the index of the element in the enum value as it is the value of the item in the dropdown. This is immediately written to the variable and so does not represent the value assigned.
\\
Reproducible with versions: All
Not reproducible with versions:
Can’t test with versions:
\\
Tested on (OS): N/A
\\
Notes:
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note (fix version 1.0.6):
Fixed choosing an enum value from a blackboard variable dropdown not mapping correctly to assigned enum values.