Search Issue Tracker
By Design
Votes
0
Found in
2018.2.15f1
Issue ID
1111743
Regression
No
[WebGL] Deployed app is unable to redirect to another URL when the player is embedded into Heroku with Ruby On Rails
How to reproduce:
1. Set up a Heroku account.
2. Download Ruby (programming language)
3. Download Ruby on Rails
4. Set up a pipeline on Heroku and add an app to that pipeline
5. Push app to Heroku
5. Deploy the app (Instructions found under the `deploy` tab of your app)
6. Migrate the database in the terminal using 'heroku run rake db:migrate'
7. Open logs and open app
8. Enter an email address and enter password 3 times and notice that page does not redirect
9. Go to logs and search for 'Redirect'. If there, you have encountered the error.
10. To reproduce continuously, clear database with 'heroku pg:reset DATABASE_URL --confirm NAME_OF_THE_APP' and re-migrate followed by a restart of Heroku 'heroku restart'
Expected results: The page redirects and loads another URL
Actual results: Redirection is attempted, but URL load fails and Player continues
Reproducible with: 2018.2.15f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Resolution Note (2021.1.X):
Ruby `Redirect_to` command must be called before any HTTP content has been sent to the client. Use window.location JavaScript API to implement a redirect after the Unity page has been loaded.