Deeplinking function not working [solved]

  • Hi,

    right, thanks for reporting!

    The reason is a bug in the vtourskin.xml related to change in the webvr.xml in version 1.22.

    To fix it look in the vtourskin.xml for these lines:

    Code
    <action name="skin_deeplinking_update_url" scope="local" args="delay">
    	if(skin_settings.deeplinking AND (!webvr OR webvr.isenabled === false) AND global.lpinfo === null,
    		delayedcall(skin_deeplinking_update, calc(delay == null ? 0.1 : delay), skin_deeplinking_update_url_process() );
    	);
    </action>

    and change there this:

    Code
    webvr.isenabled === false

    to this:

    Code
    webvr.isenabled != true


    The reason in detail:

    • that code check if webvr is enabled to avoid constant url-updates during the vr-viewing, which might cause performance problems,
    • since version 1.22, the webvr plugin is included using the new plugin api setting - and with this the 'webvr' object gets predefined already when defining the plugin,
    • therefore the !webvr check fails, it previous version that worked because there the 'webvr' object gets defined when the webvr plugin has finished loading,
    • and because the webvr plugin isn't loaded, its isenabled setting is not defined and therefore the explicit check for === false fails.


    The fix will be also included in the next releases of course.

    Best regards,
    Klaus

  • tonesh April 10, 2025 at 8:58 AM

    Changed the title of the thread from “Deeplinking function not working” to “Deeplinking function not working [solved]”.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!