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
- “Clear locked objects” button in the Info tab of the Physics Debugger window has no padding on the right side and has an extra space in between the words “locked” and “objects”
- Renaming the VFX Graph uses "Enter" for a new line and "Enter + Shift" to confirm instead of vice versa
- RasterCommandBuffer.DrawMeshInstanced light attenuation does not work in the Release build Player
- Main thread freezes when right-clicking on the title bar of a windowed Player on Windows
- “Open” button in Inspector does not function for certain Assets
Resolution Note (fix version 1.0.6):
Fixed choosing an enum value from a blackboard variable dropdown not mapping correctly to assigned enum values.