Can i check if a Verse device IsValid[] ???

I get runtime errors and i cannot find a way to check if the device is valid.

I think its just to the device cleanup at the end of the round so then the Verse device is not valid but i cannot find a way to check for validity.

Any help would be appreciated

Example code:

Verse error:

I think because i use the GM:=GameManager ref in various devices when the round ends it auto starts a chain reaction and throws out 5 Verse runtime errors.

I believe as its round end and when a new round starts it’ll reset the verse it shouldnt be a issue but just need some guidance with this one

What its doing is causing the first error then creating more errors like a domino effect

Thankyou

1 Like

Update:

Ive added the following

image

image

Then in the other devices i did this

Will test

Can the IsValid not be used on Verse devices tho ?

1 Like

I feel like this error is a false positive that happens when you have rounds enabled, did you actually notice your server crashing when you played ?

I believe it’s gonna report another error that says GM is NULL instead now

Also, how do you end your rounds if you have rounds ?

Its just the Fortnite round system and i have never experienced it crash. It never errors in sessions or playtests only on published version and i end the round with the End_Game_Device but i ensure i have enough time to run any functions at the end before the round ends(Activating the device).

I implemented a race: between the loop: and a GameEndSignal() that seems to have helped also.

1 Like

IMO it’s just the round ending that causes that and it’s harmless, the devices are crashing while a new round is beginning and it sends fake reports, I can’t confirm it but we’ve been having similar issues that wouldn’t occur when playing but still shows in the errors list

Also I know that when a device crash (not the server), it doesn’t crash the server, so that’s what I’m thinking is happening

I think that’s what’s also happening but they should be some solution or the Verse error log will get swamped :frowning:

Do you see similar issues and they dnt effect the game ?

Yes sure, I suspect those :

  • Attempt to read a NULL value from __verse_0xXXXXXX_SomeVarReferencingSomeVerseDevice.
  • Internal error encountered: Attempted to access some_device_name_2147XXXXXX via property _Self, but some_device_name_2147XXXXXX is not valid (pending kill or garbage).
  • Internal error encountered: Accessed None trying to read Class from property $Callee_20.

Again, cannot confirm or deny, just a feeling I have

I have the same bunch of errors tbh. I think this needs raising with Epic to look into as this doesn’t seem right to me.

@Flak
Hi Flak hope you had a good break

Could you kindly ask one of your Verse colleagues to assist and help with this issue if that’s ok.

Guidance would be appreciated but also to understand if this is a Verse issue rather than human error

Thankyou so much

1 Like

Bump…

Need some help with this please