HelloWorldSweden / codepad

Online Defold compiler/interpreter
MIT License
2 stars 0 forks source link

Codepad won't open an URL created from Share Button #4

Open BenjaminLind04 opened 4 years ago

BenjaminLind04 commented 4 years ago

Describe the bug (REQUIRED) Problem with share option on Codepad, it won't work, it has worked before but not anymore uncertain what have caused this because we have not worked on this in codepad for a long time.

To Reproduce (REQUIRED) Steps to reproduce the behavior:

  1. Go to any codepad project and open it on github.io.com
  2. Click on Share button and copy the new URL
  3. Scroll down to paste it in another tab or browser tab
  4. See that the project stops at the loading screen
  5. Take an look in the inspector and see the error message if any (if you have firefox installed take an look there, no error message in other browsers e.g Sarafi or Chrome but the problem is still there)

Expected behavior (REQUIRED) You can open an saved codepad project in another tab or at another computer/browser

Defold version (REQUIRED):

Platforms (REQUIRED):

Minimal repro case project (OPTIONAL):

Screenshots (OPTIONAL): image (1)

BenjaminLind04 commented 4 years ago

@britzl Here is the problem I was talking about

britzl commented 4 years ago

Not sure what's wrong to be honest. The official version of the codepad has working Share functionality:

https://defold.com/codepad/#?c=#cp_two_gos&s1=GYVwdgxgLglg9mABDMMoAoDOBTANsASgCgBIAczgDoBDVAW2qm3QCJKWAaRFgBzkzTwwlAJ6dEFSgAUAMgEEAmgCE5AYQDSAfRkB5HVM1SAkgDkA4lJ3muARgAMdrpICicgMqmz2064BKXACZibDAAEyIiUEhYBERgFGpcLDxCCJDwyPBoIUQQHlDGZhx8LlCoYiJ0iKjs2IRNOmxMTGoyIpSuRubW7E0YUM6mlrauHDDsACcKqszonPqUHhAMYuAualqwPoHEDZiwabDqrP3Eeom8OGpQ5PxD8KA===&s2=GYVwdgxgLglg9mABDMMoAoDOBTANsASgChFTEBzOAOgENUBbGqbdAIitYBpFWAHOTGnhgqADy4VqABQAyAQQCaAITkBhANIB9GQHkdUzVICSAOQDiUnee4AmAAx3ulKgFE5AZVNnNpnQFUAFQBFPzkAEVtibDAAEyIiUEhYBERgFBpcLDxCeOi4hPBoYUQQXhimFhx8bhioYiI8+MSilIRNemxMTBpySuzuDq6e7E0YGIHO7t7uHFjsACd6xoKk4raUXhAMKuBuGhawUfHEfeSwJdimwrPENvm8OBoYrPwLmKA==

britzl commented 4 years ago

I think I'd start by trying with your version of Codepad with a super simple example with just a single game object and script and see if that works.

BenjaminLind04 commented 4 years ago

Okey, i will test that and come back to you

BenjaminLind04 commented 4 years ago

@britzl Okey, now I have tested this and it still don't work. Can it have something with that your version of codepad which is uploaded is using an older version of Defold and something have changed that could have effected this?

Here is my url that is created: https://benjaminlind04.github.io/codepad-test-share/#?c=#cp_sprite&s1=GYVwdgxgLglg9mABDMMoAoDOBTANsASgCgBIAczgDoBDVAW2qm3QCJKWAaRFgBzkzTwwlAJ6dEFSgAUAMgEEAmgCE5AYQDSAfRkB5HVM1SAkgDkA4lJ3muARgAMdrpICicgMqmz2064BKXACZibDAAEyIiUEhYBERgFGpcLDxCCJDwyPBoIUQQHlDGZhx8LlCoYiJ0iKjs2IRNOmxMTGoyIpSuRubW7E0YUM6mlrauHDDsACcKqszonPqUHhAMYuAualqwPoHEDZiwabDqrP3Eeom8OGpQ5PxD8KA===

BenjaminLind04 commented 1 year ago

Seems to be workning now in later releases will be resolved when our version is updated