Forum

HTMLTexture node does not update Current URL pin

The HTMLTexture node seems to keep the first visited URL at its “Current Url” output pin, even when the user navigates to another URL. This seems to be a bug.

Is there a way to figure out the current URL the user navigated to?

Thank you very much for any useful hint.

I think there is a very small error in the code.
This might be a solution:

changed line 173 in HTMLTextureRenderer.cs from:

public string CurrentUrl
        {
            get 
            {
                lock (FLock)
                {
                    return FUrl;
                }
            }
        }

to

public string CurrentUrl
        {
            get 
            {
                lock (FLock)
                {
                    return FCurrentUrl;
                }
            }
        }

Now it outputs the real current url and not the one inputted.
Maybe elias can confirm to make sure this doesnt break anything.

thank you, fixed in next alpha.