Log in

View Full Version : Unity Error Message



Thanatos0042
April 28th, 2021, 23:22
Greetings,

I'm getting a unity error message. This is in conjunction with 1 single mod and the author said it's not his mod as he can't duplicate it.

Here are the threads:

https://www.fantasygrounds.com/forums/showthread.php?59490-Equipped-Effects-Extension-(-ext-file)-Fantasy-Grounds-Unity/page10

and

https://www.fantasygrounds.com/forums/showthread.php?67481-5E-Automatic-Effects/page8

You can scroll down to where I post this error and it's where it starts:




[4/27/2021 6:58:55 PM] [WARNING] Frame tabs contains out-of-range values in BottomLeft.

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[4/27/2021 6:59:04 PM] [ERROR] Script execution error: [string "scripts/manager_action_damage.lua"]:208: attempt to index global 'vClause' (a nil value)

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[4/27/2021 6:59:29 PM] [ERROR] Script execution error: [string "scripts/manager_action_damage.lua"]:208: attempt to index global 'vClause' (a nil value)

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)


[4/27/2021 6:58:23 PM] EXTENSION: Equipped Effects v1.19 for Fantasy Grounds Unity \rCopyright 2021 SilentRuin \rWill create and remove effects and spell powers (5E only) based on equipped or unequipped inventory items.

As gone over with the mod author and in the threads - this was with nothing but FGU (updated) and the latest version of his mod. He doesn't get the error, I do. I can reliably re-create it.

I have a relatively new/fresh reload of windows 10 - about 2 months old. I don't have any unity development software or mod creation software or anything of the sort. All I have are a few games from Steam and Epic Game Store that use the unity engine (like Wasteland 2, Pillars of Eternity, etc.).

Additionally, it's worth noting that before I posted this, I tried another Mod that does something similar as equipped effects, called advanced effect which allows effects to be placed on items, I tried putting a STR mod on a custom item and a copy of an existing item and got this same exact error again.

I'm just at a loss here, any ideas?

Sorry, forgot to mention

I updated FGU before logging in (but I always do this)
I can reliably reproduce this.
It's happening in the D&D 5E ruleset, which is the only one I use.
Extention Developer points back to Unity/FGU. 2 different extensions that do similar things reproduce the same error
Logs attached
OS is Windows 10 - build 19042.928
English language
Only 2 mod's loaded - automatic effects which were bundled with equipped effects extension - and that author said the error isn't from their end either.

So Summary:

D&D 5e
New Unity Campaign
Equipped Effects Extension and Automated Effects mods (DM's Guide and PHB)
Win 10/English

Create a new character.
equip with dagger
Give STR 12
Add belt of hill giant str
Add to combat tracker
Edit Effects, put a 9 where the STR variable is so it shows STR: 9

Then test rolling thrown dagger to hit and damage. works
Then test rolling melee dagger attack to hit and damage, to hit works, damage produces above error.

LordEntrails
April 29th, 2021, 00:30
You are running over 30 extensions. Does this issue repeat when you disable all extensions? If it does not repeat with all extensions off, disable/enable all your extensions until you find the combination of extensions that cause this error. Then you can reach out to the extension developers to see if they can work together to find a solution.

You should normally only be running one decal extension. As you can only have one decal shown at a time, no need to load the others.

Thanatos0042
April 29th, 2021, 01:02
I'm actually NOT running that many extensions, I mean I do have that many in the extensions folder while I slowly go through and evaluate what I want to ultimately use for the campaign I'm going to run in FGU. I can clear that out if unloaded extensions might be causing an issue.

So anyway, as in my original post and threads, we did test this with all extensions except Equipped Effects Extension off and the 2 automatic effects .mod's. The error still popped up.

working my way down, I have removed both mod's and the extension and with a base FGU, I still get the error.

I made an error in my original post too, I forgot a dagger is finesse, so it works with daggers, but if you use a str based weapon, like a sword or axe or club, the error occurs.

Moon Wizard
April 29th, 2021, 01:13
The logs show that the GM client is specifically loading 32 extensions for this campaign. In general, when encountering an error, we always recommend disabling extensions, as we only support the base code.

In this case, I was able to verify an error in the base code from the error message, and just pushed a hot fix. It only occurred when ability modifying effects were used on damage rolls.

Regards,
JPG

Thanatos0042
April 29th, 2021, 01:22
yeah, I turned everything on, I turned everything off and I generated a number of logs, I obviously sent the wrong one...whoops. I was just messing around to see if I could do anything that would over-ride the error.

Thanks for letting me know...glad I wasn't imagining this...

Appreciate all the help.