René's URL Explorer Experiment


Title: Race condition in coil activation · Issue #9 · VisualPinball/VisualPinball.Unity.VisualScripting · GitHub

Open Graph Title: Race condition in coil activation · Issue #9 · VisualPinball/VisualPinball.Unity.VisualScripting

X Title: Race condition in coil activation · Issue #9 · VisualPinball/VisualPinball.Unity.VisualScripting

Description: Problem This script has no effect: This script causes the ball to spawn: Cause What should happen is: Player.Start is called by Unity CoilPlayer.OnStart is called CoilPlayer.HandleCoilEvent is added as a callback to IGameLogicEngine.OnCo...

Open Graph Description: Problem This script has no effect: This script causes the ball to spawn: Cause What should happen is: Player.Start is called by Unity CoilPlayer.OnStart is called CoilPlayer.HandleCoilEvent is adde...

X Description: Problem This script has no effect: This script causes the ball to spawn: Cause What should happen is: Player.Start is called by Unity CoilPlayer.OnStart is called CoilPlayer.HandleCoilEvent is adde...

Opengraph URL: https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/issues/9

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Race condition in coil activation","articleBody":"# Problem\r\n\r\nThis script has no effect:\r\n![image](https://github.com/user-attachments/assets/a3539f46-31dd-43db-9f4c-360167010fae)\r\nThis script causes the ball to spawn:\r\n![image](https://github.com/user-attachments/assets/7c65c851-ff41-4b2f-b9c1-bd2e297c15d3)\r\n\r\n# Cause\r\n\r\nWhat should happen is:\r\n1. `Player.Start` is called by Unity\r\n2. `CoilPlayer.OnStart` is called\r\n3. `CoilPlayer.HandleCoilEvent` is added as a callback to `IGameLogicEngine.OnCoilChanged`\r\n4. The table script starts running and the \"Pulse Coil\" node is executed\r\n5. The ball spawns\r\n\r\nThe problem is that the table script starts running before `Player.Start` is called and nothing happens because `CoilPlayer.HandleCoilEvent` does not yet observe `IGameLogicEngine.OnCoilChanged`. This might be non-deterministic as well because the order of in which `Start` is called on MonoBehaviours is. Not sure how it is in Visual Scripting.","author":{"url":"https://github.com/arthurkehrwald","@type":"Person","name":"arthurkehrwald"},"datePublished":"2024-11-26T11:55:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/9/VisualPinball.Unity.VisualScripting/issues/9"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:939b58bb-3ed8-ce62-5e2e-cfd545fafd26
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA8E2:15C624:819EB:AFAB8:698E0146
html-safe-nonceb715490dc5d4ff31169fd27d81f32bc628c10cf1f9651d6e9a18aa7bb475eb85
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEUyOjE1QzYyNDo4MTlFQjpBRkFCODo2OThFMDE0NiIsInZpc2l0b3JfaWQiOiI3NjE0NDQ1Njg3MTc0NzI1OTU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac22ca70c55fe83df59a8fc5b916e869d3e56d1e850aae0547da5c2e4bf8e09543
hovercard-subject-tagissue:2694406439
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/VisualPinball/VisualPinball.Unity.VisualScripting/9/issue_layout
twitter:imagehttps://opengraph.githubassets.com/010449f0e5fd7db1172c61326fbcedd630be31fde8b9cb092a84356e382f6b3f/VisualPinball/VisualPinball.Unity.VisualScripting/issues/9
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/010449f0e5fd7db1172c61326fbcedd630be31fde8b9cb092a84356e382f6b3f/VisualPinball/VisualPinball.Unity.VisualScripting/issues/9
og:image:altProblem This script has no effect: This script causes the ball to spawn: Cause What should happen is: Player.Start is called by Unity CoilPlayer.OnStart is called CoilPlayer.HandleCoilEvent is adde...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamearthurkehrwald
hostnamegithub.com
expected-hostnamegithub.com
None4d76af840d3174ae6e2538f47f7ea4876a854b6ac4e6fe849e30bdd90242399f
turbo-cache-controlno-preview
go-importgithub.com/VisualPinball/VisualPinball.Unity.VisualScripting git https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting.git
octolytics-dimension-user_id76119872
octolytics-dimension-user_loginVisualPinball
octolytics-dimension-repository_id434914370
octolytics-dimension-repository_nwoVisualPinball/VisualPinball.Unity.VisualScripting
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id434914370
octolytics-dimension-repository_network_root_nwoVisualPinball/VisualPinball.Unity.VisualScripting
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec9daf44b4f7506beb4bbdaf20e9c0b4ba9a94e56
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/issues/9#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FVisualPinball%2FVisualPinball.Unity.VisualScripting%2Fissues%2F9
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FVisualPinball%2FVisualPinball.Unity.VisualScripting%2Fissues%2F9
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=VisualPinball%2FVisualPinball.Unity.VisualScripting
Reloadhttps://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/issues/9
Reloadhttps://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/issues/9
Reloadhttps://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/issues/9
VisualPinball https://github.com/VisualPinball
VisualPinball.Unity.VisualScriptinghttps://github.com/VisualPinball/VisualPinball.Unity.VisualScripting
Notifications https://github.com/login?return_to=%2FVisualPinball%2FVisualPinball.Unity.VisualScripting
Fork 1 https://github.com/login?return_to=%2FVisualPinball%2FVisualPinball.Unity.VisualScripting
Star 0 https://github.com/login?return_to=%2FVisualPinball%2FVisualPinball.Unity.VisualScripting
Code https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting
Issues 2 https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/issues
Pull requests 0 https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/pulls
Actions https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/actions
Security 0 https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/security
Insights https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/pulse
Code https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting
Issues https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/issues
Pull requests https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/pulls
Actions https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/actions
Security https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/security
Insights https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/pulse
New issuehttps://github.com/login?return_to=https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/issues/9
New issuehttps://github.com/login?return_to=https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/issues/9
Race condition in coil activationhttps://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/issues/9#top
https://github.com/arthurkehrwald
https://github.com/arthurkehrwald
arthurkehrwaldhttps://github.com/arthurkehrwald
on Nov 26, 2024https://github.com/VisualPinball/VisualPinball.Unity.VisualScripting/issues/9#issue-2694406439
https://private-user-images.githubusercontent.com/50906979/389934410-a3539f46-31dd-43db-9f4c-360167010fae.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzA5MTQ0MTgsIm5iZiI6MTc3MDkxNDExOCwicGF0aCI6Ii81MDkwNjk3OS8zODk5MzQ0MTAtYTM1MzlmNDYtMzFkZC00M2RiLTlmNGMtMzYwMTY3MDEwZmFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjEyVDE2MzUxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwZTBjNzQ2OGYwMTE3ODAzZWYwMWIzMzZkMzRhNDhhM2YxOGQ4ZTgxMWY0YzA1MzUxNzM1MTIyMGVhYzc5ODQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Dhfv1nonj6Fil3jHIAOEuKJKtaeqJYQ5YV4TmN0oc0s
https://private-user-images.githubusercontent.com/50906979/389934300-7c65c851-ff41-4b2f-b9c1-bd2e297c15d3.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzA5MTQ0MTgsIm5iZiI6MTc3MDkxNDExOCwicGF0aCI6Ii81MDkwNjk3OS8zODk5MzQzMDAtN2M2NWM4NTEtZmY0MS00YjJmLWI5YzEtYmQyZTI5N2MxNWQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjEyVDE2MzUxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkwYzEzN2E5YWZjNjdlYzE2OTI0NTQwN2E4MzA1ZmFlMTljZDI5YmMxNzg0NWM3ZmMyNDI2MzM4ZWQyZTQ2NTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PjlK24AZEP4EY0kV_gqXsGQgY0WNUAs4EyXLQxobIfY
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.