Comments (8)
This was my own script... 🤦♂️
from ga-sdk-roblox.
Wait, no it wasn't.
21:09:37.327 - GameAnalytics is not a valid member of ServerStorage
21:09:37.328 - Stack Begin
21:09:37.328 - Script 'ServerScriptService.GameAnalyticsScript', Line 39
from ga-sdk-roblox.
So is the GameAnalytics module not located under ServerStorage in your project?
Maybe there should be added a requirement just like there is one for GameAnalyticsScript (soon to be renamed to GameAnalyticsServer):
if script.Parent.ClassName ~= "ServerStorage" then error("GameAnalytics: Disabled") return end
from ga-sdk-roblox.
The location shouldn't matter at all IMO.
from ga-sdk-roblox.
So how does the GameAnalyticsServer script know where to access the GameAnalytics script from?
from ga-sdk-roblox.
Good point, your error is a better solution under the assumption #18 makes GameAnalyticsServer a shortcut more than a necessity. The error is kind of vague though, it should mention why it's disabled and how to fix it if it was an error.
from ga-sdk-roblox.
Maybe there should be added a requirement just like there is one for GameAnalyticsScript (soon to be renamed to GameAnalyticsServer):
if script.Parent.ClassName ~= "ServerStorage" then error("GameAnalytics: Disabled") return end
This doesn't work for a ModuleScript since it is first called when you require
it and then you get the GameAnalytics is not a valid member of ServerStorage
error first, but with #19 fixed it is now possible to manually configure and initialize the SDK. Can this be closed now or not?
from ga-sdk-roblox.
The drop in scripts are fine with that, as long as the module doesn't.
from ga-sdk-roblox.
Related Issues (20)
- Clarify usage of ProcessReceiptCallback in documentation. HOT 1
- getPlatform returns not successful HOT 7
- Add to wally package manager HOT 15
- SDK broken after Postie update HOT 1
- Update Roblox Model HOT 1
- Issue Showing User Location in GA HOT 1
- No "configureUserId" method
- Errors when installing on Roblox
- SDK fails out of the box on studio test due to wrong protocol HOT 2
- Version 2.2.3 is not in wally HOT 4
- Add Subscription Tracking Support
- Installing from Wally in documentation is incorrect and impossible HOT 1
- addDesignEvent et al. should produce an error if provided a player instead of a user ID
- WARN|GameAnalyticsSDK.Net.Logging.GALogger|Warning/GameAnalytics: Event queue: Failed to send events.
- Naming conflict in latest release (2.2.3)
- Add Roblox Secrets Support for API Key HOT 1
- Latest version has 2 undefined variable errors HOT 1
- Errors from client scripts are no longer sent to GameAnalytics
- "Postie" dependency should be coupled with the "GameAnalytics" module HOT 3
- Use rojo build instead of the current method of creating a rbxmx HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ga-sdk-roblox.