react-unity-webgl package with next js blank white screen #495
Unanswered
AalaKai666
asked this question in
Question and Answer
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
im new to webgl react package
im using it with next js
i have no errors
i have placed my webgl project folders and given the file path in the code
but i only get a blank white screen.
the code i think has no errors otherwise i would get a error prompt .
how do i know the code is working because the text moves down where is called
<Unity unityProvider={unityProvider} />
following is the code
`
import React from 'react';
import { Unity ,useUnityContext } from 'react-unity-webgl';
export default function Layout({title , children}){
`
Beta Was this translation helpful? Give feedback.
All reactions