Access none trying to read property widget componentt


Error Access none trying to read property, i solved something similar but on a visibility node, here again on rotation
and gives branch of macros error , the macros doesnt save nor compile ?

How do you set the reference? Or, how was the component added to this actor?

1 Like


it wasnt set only a widget class added to it

Or, how was the component added to this actor?

image

How did you get this node?

  • did you add the component with Add Components dropdown?
  • did you override a native widget component and then added it?
  • did you just create a reference variable and forgot to point to to the right object?

Some other way?

Error Access none trying to read property, i solved something similar but on a visibility node,

Why not solve it the same way here?

1 Like

com

thew visibility was solved when i added the widget class… i am creating the same from a project Archviz explorer from epic games so im recreating the units as they did…

It did not answer any of my questions…

i am creating the same from a project Archviz explorer from epic games so im recreating the units as they did…

How are you doing it? It almost sounds as if you copy / pasted something?

Normally, you’d:

What are we missing here, what is special about this component that you’re not telling? :smiley:


What happens when you:

1 Like

yes i am copying the script sorry but im beginner at unreall thats why… hahah not very special :stuck_out_tongue: it prints Aye

What script, from where and pasted where? You must give us something to work with…


Could you please then explain how you added the component to this actor then?

image

How did the WidgetComponent end up up there?

1 Like

From your description it seems that the widget is both Valid and Invalid at the same time. This is not really possible under regular circumstances. The real question is what else is going on.

You’re doing something uncanny and we do not know what. Unless you explain if VERY FINE detail what is going on, this is getting nowhere :frowning:

1 Like

i did copy from the project from unreal called Archviz Explorer the sripts are long so ill try a little bit here i have Event graph this is the event tick , theres another event begin play…
the error of rotation is in this event tick


The above does not help, I can open the project and look at it there - that works. We need to know this:

Could you please answer the question:

image

How did you add it to this actor.

  • did you migrate the actor?
  • did you create this actor yourself?

Please go through the thread and try to answer the questions. A simple yes / no will suffice. Other that that, it’s impossible to help if we do not know what you did.

1 Like

from the + add that you mentioned before

1 Like

its a widget but i renamed to widget component

Could you copy and paste the error message here?

1 Like


i have multiple cause i have the same object many times

So it’s not about rotation at all… See what I mean. Why do you think this is about rotation?

What is this:

Where does it come from? Where does it go? This must be the StandardMacro isValid but the param name is wrong - maybe because of the copy / paste. :expressionless:

2 Likes

i honestly dont understand unreal that much… when i press the error it goes to the set relative rotation…

Where is this:

image

Can’t see it in the stuff you posted.

1 Like

sm