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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (fix version 1.0.6):
Fixed choosing an enum value from a blackboard variable dropdown not mapping correctly to assigned enum values.