Hey, I have a problem.Program such as rotation and translation can run properly but when I close program.
It show me error:
“Blueprint runtime error: “No Access” attempting to read property CallFunc_SlotAsCanvasSlotReadReturnValue. Node: Set rendering translation chart: EventGraph function: Execute Ubergraph Widget Wheel Move Blueprint: WidgetWheelMove.”
The reason looks like “set render translation” caused.
How can I solve it? Thanks!
The Widget Whee
l is not inside a Canvas
panel. Check widget hierarchy.
How can I solve it?
If you want to use a canvas slot, you must place that widget inside a canvas.
Also:
You sure you don’t want to use a simple animation instead? I see knives and wheels, Is this what we’re making:
It is not:
It’s inside a button. The knife is in canvas; and so is this element:
You could shift that in canvas. Not sure if convenient, a bit hard to tell what is going on here.
I don’t use animation because there are other needs and I’m not very proficient in using animation
OK, I understand. But why can translation animation still be performed?
Because it’s not trying to access the canvas slot that does not exist. This part:
has nothing to do with canvas operation. It rotates the widget around its pivot. But the Widget Wheel only knows about the button it’s inside of. It does not even know it’s another element and then inside a canvas.
Whenever you nest widget inside of a panel, that panel creates a slot - those slots have special properties. Canvas can move things around. Horizontal Box can distribute children evenly and so on. If I place a button in a border:
The button can now use the slot the border created. If I add a Canvas:
The border can now use the canvas slot:
Do note these operations:
Do not really require a canvas to start with. if you’re working with Render Translation, you can:
Oh, I understand.Simply put, the higher-level control of each control is different.Thank you.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.