handzlikchris / handzlikchris/FastScriptReload

Root struct and nested class that uses 'in' ChangedClass as parameter is throwing is inaccessible

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
feature needs-refinement user-code-rewrite
Dominant language
C#
Stars
2.2k
Forks
167
PR merge metrics
No merged PRs in 30d

Description

originally it can access as it's a nested class
![67f1fbaf-6bb5-4bb4-b3f8-f32926843ff4](https://user-images.githubusercontent.com/6343986/229849364-41670481-6ed5-49bc-a68c-ea4db5f149b6.png)
![80717153-4522-4d16-b155-af974336cf42](https://user-images.githubusercontent.com/6343986/229849390-c268a148-8b81-4123-9cf8-1ba6320acdd2.png)

[ ] reported Killer Joe Issue from Discord

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the nested-class example described in the issue and comparing the behavior before and after the change involving an `in` parameter. The issue names no source file or test, so locate the Unity hot-reload handling for C# type accessibility first; done means the nested class can access the changed root struct without an accessibility error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
devtools, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.