Announcement

Collapse
No announcement yet.

accessed nones

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    accessed nones

    Does anybody know what it means when you get accessed nones in your UT log file???

    Everything seems to be working fine in my code but I get a lot of accessed nones in my log file.

    #2
    You're trying to access something that's not there.

    For instance, if you were trying to get some variables from Thingie, you probably have this:
    Code:
    Thingie.Whatever = 2;
    When you should have this:
    Code:
    if(Thingie != None)
        Thingie.Whatever = 2;

    Comment


      #3
      Ohhhhh... ok, ic. No wander I see a lot of

      if(Thingie != None)
      Thingie.Whatever = 2;

      type of code in the UT code. I just thought they were being over cautouse or somehing to prevent bugs.

      Thanks
      RD

      Comment


        #4
        The problem is it's very easy to have a object something points to be deleted without your object being aware it happend, then your object tries to access it and where did it go...

        Comment

        Working...
        X