Properties cant have Spaces in names when using interval as a evaluation. Or else it'll fail to activate actuator. #31122

Closed
opened 2012-04-27 14:38:53 +02:00 by Auuman Anubis · 6 comments

Category: Logic

%%%If a property contains spaces in it's name, then the connected actuator won't activate.

I have to rename the property by removing spaces from its name, then I update all the logic bricks to match the new name. And then it works just fine.
But once I rename it again (adding spaces back in) then update the logic bricks to the new name, it stops working.

This only happens with the Property sensor that uses "interval" as a evaluation. All the rest of the evaluation types can use all properties (no matter what the name is)

The Blend file explains in more detail, and contains different layers that show a comparison.

Thanks%%%

**Category**: Logic %%%If a property contains spaces in it's name, then the connected actuator won't activate. I have to rename the property by removing spaces from its name, then I update all the logic bricks to match the new name. And then it works just fine. But once I rename it again (adding spaces back in) then update the logic bricks to the new name, it stops working. This only happens with the Property sensor that uses "interval" as a evaluation. All the rest of the evaluation types can use all properties (no matter what the name is) The Blend file explains in more detail, and contains different layers that show a comparison. Thanks%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

%%%whoops, uploaded the wrong blend

"Properties cant have Spaces in names when using interval 2.blend" is the correct blend file that shows the issue%%%

%%%whoops, uploaded the wrong blend "Properties cant have Spaces in names when using interval 2.blend" is the correct blend file that shows the issue%%%

%%%Confirmed. The code here is quite silly, it generates an expression string and then evaluates it, but doesn't seem to prevent spaces (or +, - and other operators) from messing things up.%%%

%%%Confirmed. The code here is quite silly, it generates an expression string and then evaluates it, but doesn't seem to prevent spaces (or +, - and other operators) from messing things up.%%%

%%%Moved from Blender 2.6 Bug Tracker to Game Engine%%%

%%%Moved from Blender 2.6 Bug Tracker to Game Engine%%%

%%%This should now be fixed as of r48662. Let me know if you still have problems. In the mean time, I'm going to close this report as "Fixed."%%%

%%%This should now be fixed as of r48662. Let me know if you still have problems. In the mean time, I'm going to close this report as "Fixed."%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#31122
No description provided.