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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 1.0.6):
Fixed choosing an enum value from a blackboard variable dropdown not mapping correctly to assigned enum values.