cnburkeaidan / AH-Greenville

Code ninjas black belt game
GNU General Public License v3.0
0 stars 0 forks source link

WebGL Build Issues #12

Open almondjoycam opened 1 year ago

almondjoycam commented 1 year ago

I'll be documenting the different issues we will have to resolve in the WebGL build here. I really like your idea of duplicating the project so that the base version remains stable. Home Office does say that the game has to be published for WebGL, unfortunately.

I'm not sure what else there is, so comment and I'll add more.

cnburkeaidan commented 1 year ago

I still don't know why the scene doesn't load... :(

cnburkeaidan commented 1 year ago

... Could I push the assets to GitHub in a separate repository?

cnburkeaidan commented 1 year ago

So you can look at them?

almondjoycam commented 1 year ago

Could I push the assets to GitHub in a separate repository?

That's absolutely what you should do!

cnburkeaidan commented 1 year ago

I have added you to a repository where i will add the files

cnburkeaidan commented 1 year ago

The package is 500 mb

cnburkeaidan commented 1 year ago

HUGE

cnburkeaidan commented 1 year ago

...

cnburkeaidan commented 1 year ago

VERY IMPORTANT:

ONLY DOWNLOAD ONCE OR THEY WILL CHARGE ME FOR BANDWIDTH

cnburkeaidan commented 1 year ago

... git lfs not working?

cnburkeaidan commented 1 year ago

I will come in tomorrow, look at the files locally then.

cnburkeaidan commented 1 year ago

Please leave further comments in the discussion

cnburkeaidan commented 1 year ago

good news, I uploaded the assets non-unitypackage

almondjoycam commented 1 year ago

Scene Not Loading

I ran the web player with the web console open, and all of the console logs relate to shaders.

Unity's manual page on WebGL graphics says that WebGL is a lot more restrictive on supported shaders than other platforms. It looks like for the WebGL version, you'll have to limit the shaders you use, unfortunately.

The actual console logs are in the following block.

ERROR: Shader
Hidden/PostProcessing/Debug/LightMeter shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

ERROR: Shader 
Hidden/PostProcessing/ScreenSpaceReflections shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

ERROR: Shader 
Hidden/PostProcessing/Debug/Waveform shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

ERROR: Shader 
Hidden/PostProcessing/MultiScaleVO shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

ERROR: Shader 
Hidden/PostProcessing/Debug/Histogram shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

Shader 'Custom/RainShader': fallback shader 'Particles/Alpha Blended' not found

ERROR: Shader 
Hidden/PostProcessing/Debug/Vectorscope shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

UnloadTime: 3.000000 ms